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

Skip to content

Commit c7d7a91

Browse files
committed
Fix an undefined variable in doctest.
1 parent ab58bef commit c7d7a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/cbook/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@ def _array_perimeter(arr):
20372037
array([[ 0, 1, 2, 3],
20382038
[10, 11, 12, 13],
20392039
[20, 21, 22, 23]])
2040-
>>> _array_perimeter(arr)
2040+
>>> _array_perimeter(a)
20412041
array([ 0, 1, 2, 3, 13, 23, 22, 21, 20, 10])
20422042
"""
20432043
# note we use Python's half-open ranges to avoid repeating

0 commit comments

Comments
 (0)