-
Notifications
You must be signed in to change notification settings - Fork 190
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
Widgets not appearing when using nbsphinx or myst-nb #409
Comments
theottm
changed the title
Widgets not appearing when using nbsphinx
Widgets not appearing when using nbsphinx or myst-nb
Jun 29, 2024
I also tried using
Btw I tried using pythreejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The widgets appear and work fine when I use
pythreejs
in notebooks.When I save the notebook along with its state and build html docs using
nbsphinx
, the widgets do not appear when opening the html in a browser.The widgets state data is present in the ipynb file and in the html file though.
As a minimal example, I tried it on this repo. On tag
4.2.1
, I built the html docs, opened a html file in a browser and the widget appear and work. So the it seems the issue doesn't come fromnbsphinx
.As soon as I open one of the notebooks in
examples
and execute it myself, save output and state, followed by building the docs again, the widgets do not appear.Also when I run a notebook with another widget say
ipywidgets.IntSlider
, it works. So the problem doesn't seem to come from widgets in general.I'm using
pythreejs
version2.4.2
withAny idea why my threejs widgets can't be converted properly by
nbsphinx
?The text was updated successfully, but these errors were encountered: