0
# pie chart, have to fix the legend / get rid of it
pie = df_ppt_45.plot.pie(subplots=True,autopct='%1.1f%%', textprops={'fontsize': 8})

#plt.legend(pie[0],labels, bbox_to_anchor=(1,0), loc="lower right", 
                      #bbox_transform=plt.gcf().transFigure)

Pie Chart

Here is the data frame just in case you need a reference.

Data Frame

  • Does this answer your question? [Remove the legend on a matplotlib figure](https://stackoverflow.com/questions/5735208/remove-the-legend-on-a-matplotlib-figure) – J. Choi Jul 08 '22 at 03:25
  • you're using the pie function from pandas, so you can just add `legend=False` – tdy Jul 08 '22 at 04:04
  • `df_ppt_45.plot.pie(legend=False, subplots=True, autopct='%1.1f%%', textprops={'fontsize': 8})` – tdy Jul 08 '22 at 04:07

0 Answers0