-
Notifications
You must be signed in to change notification settings - Fork 66
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
interact
based ipympl
plots not working as expected
#608
Comments
It turns out that removing the customized Output widget that was included when switching to the KernelWidgetManager, fixes this particular issue https://github.com/executablebooks/thebe/blob/main/packages/core/src/output.ts However it also (re)introduces errors when the widget manager is created use of the customized Output was based on similar changes in Investigating to see if a different change to Output could be made to fix both problems |
After debugging it's clear that the manager class nor the customized After more debugging and another set of eyes from @agoose77 👀 -- removing the That's a positive step but also still points to something that |
Upgrading to a recent release of |
update: when removing In a further attempt to charactize the problem; updating the code to the following where we display an arbitrary widget in the
results in the following figure in While is jupyterlab the slider renders as expected. This looks like what would happen if the widget was rendered using a |
Describe the bug
context
When thebe is used to render an
ipympl
plot that has been created using interact, this fails to render as expected. Instead of getting a canvas based render of the output, it seems ot fallback to html.When manually rendering in an output widget, thebe performs as expected.
The code to produce the plot. is:
Which produces a
text/html
based plot on in theOutputArea
expectation
I expected to be able to get the same behaviour from
interact
,interactive_output
and manual use of an Output widget. The same notebook displays as expected in JupyterLabbug
But instead I get a static, non interactive plot.
problem
This is a problem for people doing trying to create interactive figures, as the standard
ipympl
controls are not available and the plot will not respond to other click and mouse events.Reproduce the bug
Coming soon .. a link to the notebook
List your environment
No response
The text was updated successfully, but these errors were encountered: