pymem3dg.visual.plotScreenshot

pymem3dg.visual.plotScreenshot(ax, pngFile, clim, label, orientation='horizontal')

Helper to plot image file on axis

Parameters:
  • ax (matplotlib.axes.Axes) – matplotlib Axes object

  • pngFile (str) – image file name

  • clim (tuple) – colormap limit, tuple of length 2

  • label (str) – colorbar label

  • orientation (str, optional) – orientation of the colorbar. Defaults to “horizontal”.