thanksfor ur reply.  after i send this mail . i have trie annotate, and
make it works.
if have good style, hope all of u can share it.
############
for i in range(len(ls)):
                circle_ls.append(pie(ax, ls[i], radius=r_len-width*i,
pctdistance=1-width/2, **kwargs))
                ax.annotate('test0' + str(i), xy=(0.1,0.5-i *
0.2),xytext=(0.6,0.5-i *
0.2),arrowprops=dict(arrowstyle="->",connectionstyle="arc3"))
############

[image: 内嵌图片 1]



2014-06-19 18:30 GMT+07:00 Mike Kaufman <mck...@gmail.com>:

> use annotate()
>
>
> http://matplotlib.org/users/annotations_guide.html#plotting-guide-annotation
>
> M
>
> On 6/19/14, 12:27 AM, 不坏阿峰 wrote:
> > thanks to Joe Kington
> > <https://plus.google.com/u/0/115087865729901776991?prsrc=4>‘s help, i
> > got this pie donuts
> > i have modified code to  generate pie base one the Num of list.
> > but i do not know how to draw the text label like below, i need label
> > inform of each pie . pls give me some guide.
> > thanks a lot
> > 内嵌图片 1
> >
>
>
>
> ------------------------------------------------------------------------------
> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> Find What Matters Most in Your Big Data with HPCC Systems
> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> http://p.sf.net/sfu/hpccsystems
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to