imshow

Stoner.Image.imagefuncs.imshow(im, **kwargs)[source]

Quickly plot of image.

Keyword Arguments
  • figure (int, str or matplotlib.figure) – if int then use figure number given, if figure is ‘new’ then create a new figure, if None then use whatever default figure is available

  • show_axis (bool) – If True, show the axis otherwise don’t (default)’

  • title (str,None,False) – Title for plot - defaults to False (no title). None will take the title from the filename if present

  • title_args (dict) – Arguments to pass to the title function to control formatting.

  • cmap (str,matplotlib.cmap) – Colour scheme for plot, defaults to gray

Any masked areas are set to NaN which stops them being plotted at all.