SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] demo text path failing

From: Jae-Joon L. <lee...@gm...> - 2010年11月05日 00:20:13
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 <jd...@gm...> wrote:
> Appears to be branch and trunk
>
> johnh@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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /