nbformat version

fierstt
fierstt Registered Posts: 4 ✭✭✭

I'm just trying to do some basic plotting with the following code:

import plotly.graph_objects as go

fig = go.Figure(go.Scattergeo())
fig.update_layout(height=300, margin={"r":0,"t":0,"l":0,"b":0})
fig.show()

And this gives me the following error:

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

So I added nbformat to my environment, and can see the following:

nbformat==5.1.3

But I still get the exact same error.

Best Answer

  • Alexandru
    Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,215 Dataiker
    Answer ✓

    Hi,

    Have you restarted the notebook kernel after updating nbformat? If not can you please try restarting the notebook kernel?

Answers

Setup Info
    Tags
      Help me…