Sorry for posting mistake.I'm new here. how can i add the numbers of data beside the legend table? Also How can I make the legend table on the side so as not to block the visibility of the chart?
Example legend table:
(redcolor) at=1
(bluecolor) nt=3
(purplecolor) ct=5
my code:
aaa=[1,3,5]
name='at','nt','ct'
plt.pie(aaa,labels=name)
plt.legend()
plt.show()