Plotly TreeMap not visible in Jovian Notebook

This code cell is not displaying out:

This code works on colab notebook.

import plotly.graph_objects as go

dfp = df.groupby(['Category'])['Installs'].sum().sort_values(ascending = False).reset_index()

category = list(dfp.Category)
installs = list(dfp.Installs)

fig= go.Figure(go.Treemap(
    labels =  category,
    values =  installs,
    textinfo = "label+percent entry"
    width= 800,
1 Like

Hi same like issue for me as well,
I have a plotly pie chart in my jupyter notebook. But it is invisible from jovian side, no issues when running notebook in Binder or Locally.



Thanks for reporting! We are looking into it.

1 Like

I had the same problem. I fixed this problem finally.

from plotly.offline import init_notebook_mode
init_notebook_mode (connected = True)

After adding these lines to the code part you wrote to import the libraries, the graphics will now appear in