scottkleinman/lexos

Plotly gives mimetype error

Closed this issue · 2 comments

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.

This seems to be an ongoing issue for Plotly.

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.