This seems to be related to the recent change by Eric.
I just submitted a modified version of demo_text_path.py.

Eric, it seems to be happened because the "_original_facecolor"
property that you introduced is not initialized in __init__ method but
in the set_facecolor method. Is there any reason that this cannot be
initialized in the __init__ method?

Regards,

-JJ



On Fri, Nov 5, 2010 at 4:14 AM, John Hunter <jdh2...@gmail.com> wrote:
> Appears to be branch and trunk
>
> jo...@udesktop191:pylab_examples> python demo_text_path.py
> Traceback (most recent call last):
>  File "demo_text_path.py", line 71, in ?
>    transform=IdentityTransform())
>  File "demo_text_path.py", line 27, in __init__
>    mpatches.PathPatch.__init__(self, path, **kwargs)
>  File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/patches.py",
> line 736, in __init__
>    Patch.__init__(self, **kwargs)
>  File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/patches.py",
> line 93, in __init__
>    self.set_fill(fill)
>  File 
> "/home/titan/johnh/dev/lib/python2.4/site-packages/matplotlib/patches.py",
> line 316, in set_fill
>    self.set_facecolor(self._original_facecolor)
> AttributeError: 'PathClippedImagePatch' object has no attribute
> '_original_facecolor'
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to