Interactive Matplotlib plots in Notebooks #139
-
Is there a way to retain the interactivity of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Unfortunately, For interactive plots, you can try to use plotly/bokeh/vega or any other similar library. |
Beta Was this translation helpful? Give feedback.
-
Thanks @akhmerov! I don't need interactivity with data, just the interactive display. In other words, I don't need to update the data in the plot, just change, say, the axis ranges or the zoom. It seems like Bokeh would be a good choice for that, specifically: https://docs.bokeh.org/en/latest/docs/user_guide/embed.html#components |
Beta Was this translation helpful? Give feedback.
Unfortunately,
%matplotlib notebook
/%matplotlib widget
uses communication with the kernel to regenerate the plot pngs, and therefore it won't work.For interactive plots, you can try to use plotly/bokeh/vega or any other similar library.