-
Notifications
You must be signed in to change notification settings - Fork 674
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
Plotly interactive plots not showing in Jupyter book #2096
Labels
bug
Something isn't working
Comments
Thanks for the report! Did you delete the book from your repo? I can no longer see it. |
I was able to reproduce the issue. Here's what fixed it for me:
|
That fixed it for me! Thank you so so much!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hi, I'm running into the same issue as #93 but unfortunately their fix didn't quite work for me. This is what my Plotly plot looks like in my local jupyter lab instance:

.
As the plot renders fine locally, I would expect it to also render in the book. However, I'm afraid that plot simply doesn't appear in the locally rendered jupyter book:
This is a problem for me as I'm attempting to make a book that would involve teaching visualizations in Python, and interactive plots made with Plotly are essential for teaching that.
Reproduce the bug
Here is a link to the notebook which is causing these issues. Try cloning my repo and rendering it locally.
Note: I've tried everything in this thread, and my config.yaml includes the following lines:
List your environment
plotly version 5.9.0
Python 3.11.1
rendered locally with jupyter lab 3.6.3, on Chrome 120.0 (using arm64 architecture) on a MacOS
The text was updated successfully, but these errors were encountered: