New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resize handle does not respond #501
Comments
the latest version of or it this problem more likely to be within |
I'm wondering if it could be an issue in the communication between the Python process and the JS one, because it's Python that's responsible for resizing. Can you update the plot data with the sliders? |
yes, the plot updates ok from sliders, but as soon as I try to resize, all toolbar interactivity and the footer location readout no longer functions. |
looking at the open message channel in the network tab I can see js process sending messages ok for:
but as soon as I click on the resize handle, the frontend no longer sends any messages from (2) but interacting with sliders still works and results in messages being sent. it's like an internal error / exception causes the canvas events on the front end to stop working, but with nothing appearing in the js console to indicate an error. I'll get an interactive example posted somewhere and share the link |
That's interesting, so it looks like either Matplotlib or ipympl fails at the resize event and then the communication hangs? Is there any error in the JavaScript console? Also, would you be able to retrieve any error traceback that could have occurred on the Python kernel? |
There are no errors in the JS console on resize, but when I connect to a local jupyter server I see various "cannot open comm exceptions". I don't see those when connecting to binder, yet the issue happens in both scenarios. I have deployed example code here: https://github.com/stevejpurves/bug-thebe-ipympl if you follow the steps in (1) on the readme, you'll be able to see the issue. Note though there are other issues using ipympl and thebe, that are also listed on that readme and reproducible here and this all works in JupyterLab and in the classic notebook, so I am thinking that there is potentially something wrong in the way that thebe is using ipywidgets manager and rendermime, but I cannot see what it is. Also bear in mind that thebe is still loading jupyter-matplotlib via requirejs (does that have an implication?, e.g. the server needs the notebook extension installed?) |
Describe the issue
When trying to drag the resize slider, nothing happens, the cursor changes and then gets stuck.
After trying to resize the footer text does not appear or update.
Reproducing this via thebe
Versions
The text was updated successfully, but these errors were encountered: