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

Skip to content

Commit 5e84fd9

Browse files
committed
Fix gridlines not moving correctly during pan and zoom
svn path=/branches/v0_98_5_maint/; revision=6608
1 parent 684c2e7 commit 5e84fd9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
2008-12-15 Fix grid lines not moving correctly during pan and zoom - MGD
2+
13
2008-12-12 Fixed warning in hist() with numpy 1.2 - MM
24

35
=================================================================

lib/matplotlib/transforms.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ def invalidate(self):
120120
root = stack.pop()
121121
# Stop at subtrees that have already been invalidated
122122
if root._invalid != value or root.pass_through:
123-
value |= root._invalid
124-
root._invalid = value
123+
root._invalid = self.INVALID
125124
stack.extend(root._parents.keys())
126125

127126
def set_children(self, *children):

0 commit comments

Comments
 (0)