compass.ocean.tests.isomip_plus.viz.plot.MoviePlotter.plot_horiz_series

MoviePlotter.plot_horiz_series(da, nameInTitle, prefix, oceanDomain, units=None, vmin=None, vmax=None, cmap=None)[source]

Plot a series of image of a given variable

Parameters
  • da (xarray.DataArray) – The data array of time series to plot

  • nameInTitle (str) – The name of the variable to use in the title and the progress bar

  • prefix (str) – The nae of the variable to use in the subfolder and file prefix

  • oceanDomain (bool) – True if the variable is for the full ocean, False if only for the cavity

  • units (str, optional) – The units of the variable to be included in the title

  • vmin (float, optional) – The minimum and maximum values for the colorbar

  • vmax (float, optional) – The minimum and maximum values for the colorbar

  • cmap (Colormap or str) – A color map to plot