pcolormesh_new

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

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

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

Parameters:
Returns:

Notes

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

  • edgecolors is set to 'none'.

  • rasterized is set to True.

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