Hi all, Last night, I committed a patch to support what I'm calling a patheffect. You may think of it as a customization of the Renderer.draw_path method. I added an example "patheffect_demo.py" and its output is attached.
Actually, this is nothing new, and mpl already can do these kind of thing. What I wanted with the patheffects feature is to make it more easy (especially with Text). And something like below is what I came up with. txt = ax1.annotate("test", (1., 1.)), (0., 0), txt.set_path_effects([PathEffects.withStroke(linewidth=3, foreground="w")]) I'm not quite sure if the current API is optimal and I'll appreciate any API suggestions. Regards, -JJ
<<attachment: patheffect_demo.png>>
------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference
_______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel