Replace Axes with AxesImage where relevant

This commit is contained in:
Juan Nunez-Iglesias
2015-01-14 20:13:32 +11:00
parent fab4ff2305
commit 984e22b47a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ def imshow(im, *args, **kwargs):
Returns
-------
ax : `matplotlib.pyplot.Axes`
The axes showing the image.
ax : `matplotlib.pyplot.AxesImage`
The `AxesImage` object returned by `plt.imshow`.
"""
if plt.gca().has_data():
plt.figure()