uwacan.positional.Coordinates.plot#

Coordinates.plot(use_minutes=True, include_time=True, name=None, text=None, hover_data=None, **kwargs)[source]#

Create a plotly trace for the coordinates.

Parameters:
use_minutesbool, default=True

Uses degrees and decimal minutes for the latitude and longitude hover.

include_timebool, default=True

Controls if a time value should be included in the hover. If a string is passed, it will be used to format the times using strftime syntax. Default formatting is "%Y-%m-%d %H:%M:%S".

namestr, optional

The name or label of this trace. Used for legend and hover.

text[str], optional

A list of text labels to show on hover for each point.

hover_datadict, optional

Mapping to add properties to the hover. The keys should match keys in the track data. The values are either True, False, or a d3-style formatting specification, e.g., ":.3f". For data with time types, the formatting string is a strftime specification, defaulting to "%Y-%m-%d %H:%D:%S".

**kwargs

All other keywords are passed to Scattermap. Useful keywords are:

  • mode to choose "lines", "markers", or "lines+markers"

  • line_color and marker_color

Note that the hovertemplate, customdata, meta, lat, lon keywords will be overwritten.