-
Notifications
You must be signed in to change notification settings - Fork 68
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
Pan/zoom button on bqplot does not work #302
Comments
Source code for pan/zoom on bqplot if anyone is interested: https://github.com/bqplot/bqplot/blob/a4917aedbc8caab8b6fcb966b0ae039bd261edba/bqplot/interacts.py |
Since the pan/zoom feature is a sub-widget (and the save-figure and reset buttons are not), maybe there is a problem with Thebe interacting with child widgets? Just speculating. I also get a "cannot get model id" error on #226, not sure if that's related. |
Information I have found out so far: IWidgetManager, ManagerBase, and HTMLManager (the classes/interfaces that ThebeManager uses) do not instantiate the kernel. In Thebe, the kernel is requested outside the class so there is no kernel to reference. Just noticed there is also a typo in the function too
I suspect the function was copied over from this example? I will see if I can try to pass |
Describe the bug
When using bqplot in Thebe, the pan/zoom button appears (with Font Awesome 4), but clicking the button does not allow the plot to be panned or zoomed.
Console output:
To Reproduce
Steps to reproduce the behavior:
Load the following HTML (or use this page: https://github.com/sandertyu/widgetstuffs/blob/8576956a999589f84d48024e5062c65cf70f58b4/Thebe/bqplot.html)
This is also the current documentation page for the bqplot example on Thebe: https://thebelab.readthedocs.io/en/latest/examples/bqplot_example.html
Environment
jupyter-book --version
:bqplot: 0.12.18
Additional context
This is an extension to #185.
The text was updated successfully, but these errors were encountered: