argopy.ArgoIndex.plot.bar

argopy.ArgoIndex.plot.bar#

ArgoIndex.plot.bar(by: str = 'dac', index: bool = False, **kwargs) Any#

Bar plot of one index property

Parameters:
  • by (str, default='dac') – The index property to plot, one in ‘date’, ‘latitude’, ‘longitude’, ‘ocean’, ‘profiler_code’, ‘institution_code’, ‘date_update’, ‘wmo’, ‘cyc’, ‘institution’, ‘dac’, ‘profiler’.

  • **kwargs – All other arguments are passed to argopy.plot.bar_plot().

Returns:

Output from argopy.plot.plot_trajectory, typically:

Return type:

tuple

Examples

from argopy import ArgoIndex

idx = ArgoIndex()
idx.plot.bar('institution')