Skip to content
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 gives mimetype error #23

Closed
scottkleinman opened this issue Jul 10, 2022 · 2 comments
Closed

Plotly gives mimetype error #23

scottkleinman opened this issue Jul 10, 2022 · 2 comments

Comments

@scottkleinman
Copy link
Owner

When generating a dendrogram in VS Code, Plotly gives the following error:

ValueError: Mime type rendering requires nbformat>=4.2.0 but it is not installed

However, the version of nbformat currently used is 5.3.0.

This Stack Overflow discussion suggests that the problem might be a result of the ipykernel version (and hence it is probably also a problem in Jupyter notebooks outside of VS Code).

We need to investigate whether the ipykernel version needs to be bumped or whether the problem is specific to VS Code. In the meantime, the workaround is to save the plot as html.

@scottkleinman
Copy link
Owner Author

This seems to be an ongoing issue for Plotly.

@scottkleinman
Copy link
Owner Author

The problem may seem to relate to ipykernel. I have bumped the version number for that, so I will re-open this issue if it continues to be a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant