Axes Pie chart wrong legend colors

I have the following code:

ax1.pie(fracs, explode=explode, labels=labels, autopct='%1.1f%%',
shadow=True, pctdistance=0.9, labeldistance=1.1,)
ax1.legend(labels, loc=0, shadow=True, prop = smallfont)

And the chart:
http://www.nabble.com/file/p21667217/C3_Pie__count_daysInWeek_2009-01-26_16.13.47.png
C3_Pie__count_daysInWeek_2009-01-26_16.13.47.png

Why do I get wrong legend colors???

Thank you for your help,
Ales

···

--
View this message in context: http://www.nabble.com/Axes-Pie-chart-wrong-legend-colors-tp21667217p21667217.html
Sent from the matplotlib - users mailing list archive at Nabble.com.