Skip to content

fix: add nbformat dependency for plotly notebook rendering#97

Merged
vvahidd merged 3 commits intomainfrom
fix/add-nbformat-dep
Apr 7, 2026
Merged

fix: add nbformat dependency for plotly notebook rendering#97
vvahidd merged 3 commits intomainfrom
fix/add-nbformat-dep

Conversation

@vvahidd
Copy link
Copy Markdown
Contributor

@vvahidd vvahidd commented Apr 6, 2026

Summary

  • Add nbformat>=4.2.0 as a runtime dependency — plotly requires it to render figures in Jupyter notebooks
  • Without it, calling .show() on plotly figures in notebooks raises ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed
  • Verified clean venv install and all 262 tests pass

vvahidd added 2 commits April 6, 2026 20:02
plotly requires nbformat>=4.2.0 to render figures in Jupyter notebooks.
Without it, plotting results in notebooks raises ValueError.
@github-actions github-actions Bot added the bug Something isn't working label Apr 6, 2026
@vvahidd vvahidd merged commit b5e114d into main Apr 7, 2026
4 checks passed
@vvahidd vvahidd deleted the fix/add-nbformat-dep branch April 7, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant