I'm trying to display legends alongside my plotly sunburst plot.
Example sunburst:
df = px.data.tips()
fig = px.sunburst(df, path=['day', 'time'], values='total_bill')
fig.show()
Ideally, I would like to display the inner or outer values and respective colors inside the black rectangle.
I was used to manually editing the legends in matplotlib (https://stackoverflow.com/a/53324868/10226862), but I can't find a way to do this in plotly.
I've also tried to add annotations, but doing so also adds X and Y-axis.