pingwyn.plot_image

pingwyn.plot_image(ax, image, **kwargs)

Plot an image to a matplotlib axis.

Parameters:
  • ax (matplotlib.axes.Axes) – The axis to draw the image onto

  • image (pingwyn.Image) – The image object to draw

  • **kwargs – Any additional keyword arguments provided will be passed onto ax.imshow(). Note: providing title, extent, vmin, vmax, origin or cmap as keyword arguments will override some behaviour of this function.

See also

matplotlib.pyplot.imshow