2025.42 changes

This commit is contained in:
2025-10-24 22:29:15 +02:00
parent d0bcfcf8f1
commit e4579e4887
24 changed files with 699 additions and 352 deletions

View File

@@ -17,5 +17,9 @@ if __name__ == '__main__':
})
plot = sunburst(df, path=["country", "city"], values="sales", title="Sales by country and city", template="ggplot2",
color_discrete_sequence=plotly.colors.qualitative.Dark2)
plot.layout.update({"font": {"family": "Cabin", "size": 13}})
plot.show()
sb = next(plot.select_traces(row=0, col=0))
sb.textinfo="label+percent parent"
# sb.texttemplate="%{label}<br>%{value:.2f}€"
plot.layout.update({"font": {"family": "Cabin", "size": 13}, "showlegend": True})
# plot.update_traces(textinfo="label+percent parent", texttemplate="%{label}<br>%{value:.2f}€")
plot.show(renderer="browser")