Skip to content

Commit 001839e

Browse files
author
cclauss
committed
Fix two undefined names
1 parent b5b0003 commit 001839e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/matplotlib/pyplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2834,7 +2834,7 @@ def spy(
28342834
__ret = gca().spy(
28352835
Z=Z, precision=precision, marker=marker,
28362836
markersize=markersize, aspect=aspect, origin=origin, **kwargs)
2837-
if isinstance(ret, cm.ScalarMappable): sci(__ret)
2837+
if isinstance(__ret, cm.ScalarMappable): sci(__ret)
28382838
return __ret
28392839

28402840
# Autogenerated by boilerplate.py. Do not edit as changes will be lost.

lib/matplotlib/testing/decorators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from distutils.version import StrictVersion
22
import functools
3+
import inspect
34
import os
45
from pathlib import Path
56
import shutil

0 commit comments

Comments
 (0)