scisalt.matplotlib.imshow

scisalt.matplotlib.imshow(X, ax=None, add_cbar=True, rescale_fig=True, **kwargs)[source]

Plots an array X such that the first coordinate is the x coordinate and the second coordinate is the y coordinate, with the origin at the bottom left corner.

Optional argument ax allows an existing axes to be used.

**kwargs are passed on to matplotlib.axes.Axes.imshow.

New in version 1.3.

Returns:

fig, ax, im :

if axes aren’t specified.

im :

if axes are specified.