image_plot

image_plot(image, save=None, show=False, title=None, clim=None, scale_legend=None, **kwargs)[source]

plot/show/save the image of the array

the function uses imshow

Parameters:
  • image (float array) – data array to plot
  • save (string (default=None)) – PATH/name of the file to save the fig. If None, no saving.
  • show (bool (default=False)) – show the plot
  • title (string (default=None)) – title of the plot
  • clim ((float, float) (default=None)) – color limit
  • scale_legend (string (default=None)) – legend for the color scale
  • **kwargs

    other arguments directly passed to plt.imshow

Warning

clim has not been tested.