imshow_new

mdtools.plot.imshow_new(*args, ax, cbar=True, cax=None, **kwargs)[source]

Plot two dimensional data as colormap with matplotlib.axes.Axes.imshow().

See matplotlib.axes.Axes.imshow() and matplotlib.pyplot.colorbar() for more details.

Parameters:
Returns:

Notes

The following defaults of matplotlib.axes.Axes.imshow() are changed:

  • rasterized is set to True.

In contrast to the default MDTools plotting style, the axis ticks are drawn outside of the plot.