Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 39c4daf

Browse files
committed
fix demo_text_path.py
svn path=/branches/v1_0_maint/; revision=8772
1 parent 312096c commit 39c4daf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/pylab_examples/demo_text_path.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ class PathClippedImagePatch(mpatches.PathPatch):
2525
"""
2626
def __init__(self, path, bbox_image, **kwargs):
2727
mpatches.PathPatch.__init__(self, path, **kwargs)
28-
self._facecolor = "none"
2928
self._init_bbox_image(bbox_image)
3029

3130
def set_facecolor(self, color):
32-
pass
31+
"""simply ignore facecolor"""
32+
mpatches.PathPatch.set_facecolor(self, "none")
3333

3434
def _init_bbox_image(self, im):
3535

0 commit comments

Comments
 (0)