http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v1_0_maint/lib/matplotlib/text.py?r1=8512&r2=8541&pathrev=8541
Regards, -JJ On Wed, Jul 14, 2010 at 1:22 AM, shuwj <shuwj5...@163.com> wrote: > Hi JJ, > Thanks for your reply. I can't access the svn for some network > reason. Will you please send me a copy of your patch about Text.draw? > Regards, > > David.shu > > > > >> It seems that there are at least two issues related with the text >>clipping. >> The first issue is that the Text.draw method does not properly set >> clip path. I think I fixed this in r8541 and r8542. >> >> The second issue is that the agg backend does not seem to support a >> clip path yet for the text. >> >> Also, your script need to be fixed. >> The patch need to be added to the axes (or its transform need to be >> set) before you call set_clip_path. >> >> So, with the current svn, you can clip the text with an arbitrary path >> when you're using the backends that support it (I only tested with pdf >> backend, the attached is the pdf output converted to png). >> If you can install matplotlib from the svn, please test the patch. >> Also, it would be great if you file a bug in the SF tracker, so that >> other developer can fix it later. >> >> Regards, >> >> -JJ > > > > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users