patheffects for Line2D objects

Hi,

It seems that patheffects are not supported for Line2D objects currently
- only for Text and Patch objects. Is there any fundamental reason they
couldn't be extended to support Line2D objects? I'm interested in this
because I draw grid lines for some hammer projection plots and those
lines are Line2D objects. For certain images, it'd be nicer to have the
grid lines use patheffects so that any color of the image would still
allow the grid line to show clearly.

Jon

···

--
______________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin@...1081... 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
______________________________________________________________

I just opened a pull request that implements the requested feature.

https://github.com/matplotlib/matplotlib/pull/655

If you're familiar with Git, please test it and see if it works for your need.
I believe I will merge this PR to the master branch in a few days
unless there is any objection.

Regards,

-JJ

···

On Tue, Dec 20, 2011 at 6:21 AM, Jonathan Slavin <jslavin@...1081...> wrote:

Hi,

It seems that patheffects are not supported for Line2D objects currently
- only for Text and Patch objects. Is there any fundamental reason they
couldn't be extended to support Line2D objects? I'm interested in this
because I draw grid lines for some hammer projection plots and those
lines are Line2D objects. For certain images, it'd be nicer to have the
grid lines use patheffects so that any color of the image would still
allow the grid line to show clearly.

Jon
--
______________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
jslavin@...1081... 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
______________________________________________________________

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users