I’ve been going through the matplotlib pane documentation and tried to run through the examples provided in Matplotlib — Panel v0.14.1, but none of the plots show up when I use the
interactive=True input when creating the Matplotlib pane object. The same behavior occurs both in Jupyter notebook and lab.
If I grab the ipywidget-managed canvas object from ipympl tucked away in there and render it in a separate cell, the interactive plot does show up.
I also noticed is that if I grab that ipywidget object, place it in an IPyWidget pane and call
.param.trigger('object'), then the plot shows up in the previous cell holding the once-empty Matplotlib pane.
Is anybody seeing the same thing or able to reproduce the issue or know of a work around?
Here’s what’s in my current environment that I figured would be most relevant:
ipywidgets 8.0.2 [also tried 7.7.1]
bokeh 2.4.3 [also tried 2.4.2]
BTW, I love the Matplotlib pane feature and was super excited when it was added. It has been a huge help in moving pre-existing matplotlib projects over into a Panel pane and hook them up to other Panel widgets and panes. So… whoever that is, thank you!