@SpaceIntern wrote:
How to I disable this percentage indicator.I want the pie chat to look more clean.I want to add the percentages to the legend if that is possible?
Here is the code I have written for this pie chart so far
fig = go.Figure(data=[go.Pie(labels=labels, values=values)] )
fig.update_traces(hoverinfo=‘percent+value’,textinfo=‘value’)
fig.update_layout(
title_text=‘Message Type Distrubution Pie Chart’, # title of plot) print("updated Channel Distrabution") return fig
Posts: 2
Participants: 2