Skip to content

Commit 09ca7c2

Browse files
committed
Fix itervalues -> values. As reported by Massimiliano Costacurta in mailing list thread "BUG: RuntimeError: dictionary changed size during iteration"
1 parent 512952f commit 09ca7c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _invalidate_internal(self, value, invalidating_node):
150150
if self.pass_through or status_changed:
151151
self._invalid = value
152152

153-
for parent in self._parents.itervalues():
153+
for parent in self._parents.values():
154154
parent._invalidate_internal(value=value,
155155
invalidating_node=self)
156156

0 commit comments

Comments
 (0)