pangeo_fish.visualization.create_single_frame

pangeo_fish.visualization.create_single_frame#

pangeo_fish.visualization.create_single_frame(ds: Dataset, figure, **kwargs)#

Default function for plotting a snapshot (i.e, timeless data) of the emission and states distributions.

Parameters:
  • ds (xarray.Dataset) – A timeless dataset, i.e., whose dimensions are [x, y], that has the emission and states variables.

  • figure (A matplotlib Figure) – The figure to which add the axes and plots

  • xlim (tuple of float, optional) – The longitude interval to plot

  • ylim (tuple of float, optional) – The latitude interval to plot

  • vmax (mapping of str to float, optional) – Mapping of the maximum values for coloring the plots, indexed by “emission” and “states”

Returns:

None (None) – Nothing is returned