Fix incorrect call to colorbar

This commit is contained in:
Juan Nunez-Iglesias
2015-01-14 09:55:10 +11:00
parent c68c8e5468
commit fab4ff2305
+1 -1
View File
@@ -60,7 +60,7 @@ def imshow(im, *args, **kwargs):
kwargs.setdefault('vmax', hi)
ax = plt.imshow(im, *args, **kwargs)
if not supported_dtype or out_of_range_float or low_dynamic_range:
ax.colorbar()
plt.colorbar()
return ax
imread = plt.imread