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

Skip to content

Commit 19503e6

Browse files
committed
fixedset clip_on bug
svn path=/trunk/matplotlib/; revision=863
1 parent 6fae598 commit 19503e6

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
New entries should be added at the top
22

3+
2005-01-12 Fixed set clip_on bug in artist - JDH
4+
35
2005-01-11 Reverted pythoninspect in tkagg - JDH
46

57
2005-01-09 Fixed a backend_bases event bug caused when an event is

lib/matplotlib/artist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ def set_clip_on(self, b):
102102
ACCEPTS: [True | False]
103103
"""
104104
self._clipon = b
105-
105+
if not b: self.clipbox = None
106+
106107
def draw(self, renderer, *args, **kwargs):
107108
'Derived classes drawing method'
108109
if not self.get_visible(): return

0 commit comments

Comments
 (0)