tobac.plotting.map_tracks#
- tobac.plotting.map_tracks(track, axis_extent=None, figsize=None, axes=None, untracked_cell_value=-1)#
Plot the trajectories of the cells on a map.
- Parameters:
track (pandas.DataFrame) – Dataframe containing the linked features with a column ‘cell’.
axis_extent (matplotlib.axes, optional) – Array containing the bounds of the longitude and latitude values. The structure is [long_min, long_max, lat_min, lat_max]. Default is None.
figsize (tuple of floats, optional) – Width, height of the plot in inches. Default is (10, 10).
axes (cartopy.mpl.geoaxes.GeoAxesSubplot, optional) – GeoAxesSubplot to use for plotting. Default is None.
untracked_cell_value (int or np.nan, optional) – Value of untracked cells in track[‘cell’]. Default is -1.
- Returns:
axes – Axes with the plotted trajectories.
- Return type:
cartopy.mpl.geoaxes.GeoAxesSubplot
- Raises:
ValueError – If no axes is passed.