Neil Vaytet

Results 85 comments of Neil Vaytet

I am still getting the "Model not found" error in `Jupyterlab=3.0.18` ``` 272.3fcd6d7045eecfb56da6.js:1 Failed to fetch ipywidgets through the "jupyter.widget.control" comm channel, fallback to fetching individual model state. Reason: Control...

Another question: is it at all possible to obtain the same behaviour if the figure is placed inside another (e.g. `VBox`) widget? Thanks! ![Screenshot at 2022-06-30 10-55-47](https://user-images.githubusercontent.com/39047984/176636535-3dc725e3-416f-4a45-8b14-ba93a9c57c96.png)

What's interesting is: - I first run the notebook using 3.0.0, save it, re-open it and I still see the figure. - then I go back to a higher version...

> Hi, > > It's not possible, although you could definitely use ipywidgets and create a Button and a container for both your button and your plot Thanks. I have...

> It might not be too difficult I guess. > > We could actually redesign the current Toolbar as being a bunch of ipywidgets Buttons in a VBox, so that...

@martinRenou that's a great idea! I agree it's not super clean, but it's at least very simple and works: ![Screenshot at 2020-10-09 09-54-05](https://user-images.githubusercontent.com/39047984/95557712-79dc3e00-0a15-11eb-8e2e-1dc6e760ae72.png) Thanks!

Yes I tried those methods but the functionality is not available with `ipympl`. The api is not exactly the same. And using the `ipywidgets` api seems much cleaner and makes...

In case you want to _remove_ buttons from the toolbar, it seems that you can do this by changing the list of `toolitems`: ```Py import matplotlib.pyplot as plt %matplotlib widget...