Skip to content

Commit

Permalink
Fix imshow call
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Dec 12, 2015
1 parent 3919e7a commit 0f93158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skimage/io/_plugins/matplotlib_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def imshow(im, ax=None, cbar_location="right", cbar_size="5%",
kwargs.setdefault('vmax', hi)

ax = ax or plt.gca()
ax_im = ax.imshow(im, *args, **kwargs)
ax_im = ax.imshow(im, **kwargs)
if (cmap != _default_colormap and show_cbar is not False) or show_cbar:
divider = make_axes_locatable(ax)
cax = divider.append_axes(cbar_location, size=cbar_size, pad=cbar_pad)
Expand Down

0 comments on commit 0f93158

Please sign in to comment.