You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen some demos of plots with ipywidgets that are really smooth and flicker-free. Is that possible with altair 1.0? or is that more of 2.0 and the jupyter lab integration?
Here is my current simple example that flickers in jupyter notebook:
The data transfer and rendering time of Vega-Lite is probably not fast enough to have a nice interactive experience.
We would need to build a full ipywidget version of a Vega-Lite rendering to create nice experience for this.
Building a ipywidget version of a Vega-Lite renderer wouldn't be too difficult, however, Vega-Lite doesn't have many APIs for updating a visualization. Thus, all we could really do is re-render from scratch, which still might be an issue. Something to think about in the long term though.
It is now possible to use the JupyterChart class to create Altair charts that can interact with jupyter/ipywidgets directly and without any flicker. See this section in the docs for details https://altair-viz.github.io/user_guide/jupyter_chart.html
I have seen some demos of plots with ipywidgets that are really smooth and flicker-free. Is that possible with altair 1.0? or is that more of 2.0 and the jupyter lab integration?
Here is my current simple example that flickers in jupyter notebook:
The text was updated successfully, but these errors were encountered: