Black Lives Matter. Please consider donating to Black Girls Code today.

Question about Treemap of Plotly Express

Hi,
When I am running the following code,

import plotly.express as px
cnf, dth, rec, act = ‘#393e46’, ‘#ff2e63’, ‘#21bf73’, ‘#fe9801

full_table = pd.read_csv(’/Users/…/Data.csv’, parse_dates=[‘Date’])
##############

Doing Some Analysis …

###############
temp = full_table.groupby(‘Date’)[‘C’, ‘D’, ‘R’, ‘A’].sum().reset_index()
temp = temp[temp[‘Date’]==max(temp[‘Date’])].reset_index(drop=True)
tm = temp.melt(id_vars=“Date”, value_vars=[‘A’, ‘D’, ‘R’])
fig = px.treemap(tm, path=[“variable”], values=“value”, height=225, width=640, color_discrete_sequence=[act, rec, dth])
fig.data[0].textinfo = ‘label+text+value’
fig.show()

I am getting the following error
… fig.show()
{‘application/vnd.plotly.v1+json’: {‘config’: {‘plotlyServerURL’: ‘https://plot.ly’}, ‘data’: [{‘branchvalues’: ‘total’, ‘domain’: {‘x’: [0.0, 1.0], ‘y’: [0.0, 1.0]}, ‘hovertemplate’: ‘labels=%{label}
value=%{value}
parent=%{parent}
id=%{id}’, ‘ids’:…(and a bunch more here)

Anyone has any idea why?
Thanks