rcatool.plot.plots.image_grid_setup

rcatool.plot.plots.image_grid_setup(figsize=(12, 12), fshape=(1, 1), **grid_kwargs)[source]

Set up the plot axes using mpl_toolkits.axes_grid1.ImageGrid Used primarily when plotting maps or for image analysis For more information on available settings: https://doc.ebichu.cc/matplotlib/mpl_toolkits/axes_grid1/overview.html

Parameters:
  • figsize (tuple) – Size of figure in inches; (width, height)

  • fshape (tuple) – setting the shape of figure (nrow, ncol)

  • **grid_kwargs (Additional keyword arguments)

Returns:

  • fig (Figure object)

  • grid (AxesGrid object)

Examples of **kwargs with default values:

direction=”row”, axes_pad=0.02, add_all=True, share_all=False, label_mode=”L”, aspect=True, cbar_mode=None, cbar_location=”right”, cbar_size=”5%”, cbar_pad=None,