mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-02 05:52:49 +08:00
Fix incorrect call to colorbar
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user