argopy.ArgoFloat.plot.trajectory

argopy.ArgoFloat.plot.trajectory#

ArgoFloat.plot.trajectory(**kwargs) Any#

Quick map of the float trajectory

This is a pre-defined call to the ArgoFloat.plot.map() method like:

Argofloat(WMO).plot.trajectory(**kwargs)
# is similar to:
Argofloat(WMO).plot.map('CYCLE_NUMBER', cmap='Spectral_r', **kwargs)
Parameters:

**kwargs – All arguments are passed to ArgoFloat.plot.map().

Returns:

Output from argopy.plot.scatter_map, typically:

Return type:

tuple

Notes

You can adjust the map aspect ratio with the figsize argument, e.g.: (18,18)

You can also adjust space around the trajectory with the padding argument, e.g.: [1, 5]

Examples

from argopy import ArgoFloat

af = ArgoFloat(wmo)
af.plot.trajectory()
af.plot.trajectory(figsize=(18,18), padding=[1, 5])