Revision: 8772
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8772&view=rev
Author: leejjoon
Date: 2010-11-05 00:11:05 +0000 (Fri, 05 Nov 2010)
Log Message:
-----------
fix demo_text_path.py
Modified Paths:
--------------
branches/v1_0_maint/examples/pylab_examples/demo_text_path.py
Modified: branches/v1_0_maint/examples/pylab_examples/demo_text_path.py
===================================================================
--- branches/v1_0_maint/examples/pylab_examples/demo_text_path.py 2010-11-04 21:11:50 UTC (rev 8771)
+++ branches/v1_0_maint/examples/pylab_examples/demo_text_path.py 2010-11-05 00:11:05 UTC (rev 8772)
@@ -25,11 +25,11 @@
"""
def __init__(self, path, bbox_image, **kwargs):
mpatches.PathPatch.__init__(self, path, **kwargs)
- self._facecolor = "none"
self._init_bbox_image(bbox_image)
def set_facecolor(self, color):
- pass
+ """simply ignore facecolor"""
+ mpatches.PathPatch.set_facecolor(self, "none")
def _init_bbox_image(self, im):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|