Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

RuntimeError #58

Closed
jeremyNG-lab opened this issue Jun 28, 2023 · 1 comment
Closed

RuntimeError #58

jeremyNG-lab opened this issue Jun 28, 2023 · 1 comment

Comments

@jeremyNG-lab
Copy link

line1 = alt.Chart(Data).mark_line().encode(
x='mean(Value)',
y='Profondeur',
color='Type')
line1
Traceback (most recent call last):

File C:\ProgramData\Anaconda3\lib\site-packages\IPython\core\formatters.py:974 in call
return method(include=include, exclude=exclude)

File C:\ProgramData\Anaconda3\lib\site-packages\altair\vegalite\v5\api.py:2161 in repr_mimebundle
return renderers.get()(dct)

File C:\ProgramData\Anaconda3\lib\site-packages\altair_viewer_viewer.py:323 in render
out = self.display(

File C:\ProgramData\Anaconda3\lib\site-packages\altair_viewer_viewer.py:268 in display
raise RuntimeError("Internal: _stream is not defined.")

RuntimeError: Internal: _stream is not defined.

@joelostblom
Copy link
Member

Since Altair 5.3, the functionality of Altair Viewer is now available in Altair via the vl-convert package instead. See the docs on how to use the browser renderer to display charts via .show(), and the PR vega/altair#3379 for more details.

We are going to archive this repo, so I'm closing all the open issues and PRs before doing so. Try out the new options for rendering charts mentioned above and if you run into issues, please open an issue directly in the altair or vl-convert repo.

@joelostblom joelostblom closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants