python
how to hide numbers in pie charts in python ploty
I'm using ploty in python to create pie charts, I added the code I'm using to create the charts. the problem is the percentage numbers doesn't look good. I couldn't find a way in ploty documentation for disabling the percentage labels. Is there any way to do it? thanks def create_pie_chart(labels, values, pic_name, chart_name=""): trace = {"labels": labels, "type": "pie", "values": values } margin = go.Margin(l=0, r=0, b=0, t=0, pad= 1); layout = go.Layout(margin=margin,showlegend= "False", paper_bgcolor='#33A1C9', font=dict(size=40)) data = go.Data([trace]) fig = go.Figure(data=data, layout=layout) py.image.save_as(fig, filename=pic_name) return
Related Links
QuerySet to JSON with nested objects
Python: How to populate Pandas column that depends on the previous value (previous row)?
Error with the open() function in python [closed]
Fine tuning pretrained model in keras
Getting the derivatives of Legendre polynomials in Python
Most recommended/used library for desiging POM code (Python)
how can I add dictionaries in dictionary
Too many to unpack tuple NLTK Chat
CNTK Python how to pass multiple features into model
Python Pandas GroupBy % calculation
Programmatic copy and paste XML Node in MS Word Document?
What specific requirements does the function passed to scipy.optimize.curve_fit need to fulfill in order to run?
Organizing daily Excel data into xarray dataset
Trouble creating MSI installer with electron
Error getting json using oauthlib python
How to extend instance with no class inheritance [duplicate]