Skip to content

Commit ed71f01

Browse files
committed
FIX: add back a missing import
1 parent c0e1b34 commit ed71f01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/image.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@ def imsave(fname, arr, vmin=None, vmax=None, cmap=None, format=None,
14451445
resolution of the output image.
14461446
"""
14471447
from matplotlib.figure import Figure
1448+
from matplotlib import _png
14481449
if isinstance(fname, os.PathLike):
14491450
fname = os.fspath(fname)
14501451
if format is None:

0 commit comments

Comments
 (0)