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

Skip to content

Commit 7340864

Browse files
author
James Evans
committed
Fixed a typo.
svn path=/trunk/matplotlib/; revision=7825
1 parent cbb519c commit 7340864

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ def _update_patch_limits(self, patch):
14461446

14471447
# cannot check for '==0' since unitized data may not compare to zero
14481448
if (isinstance(patch, mpatches.Rectangle) and
1449-
((not patch.get_width()) or (notpatch.get_height()))):
1449+
((not patch.get_width()) or (not patch.get_height()))):
14501450
return
14511451
vertices = patch.get_path().vertices
14521452
if vertices.size > 0:

0 commit comments

Comments
 (0)