movingpandas.Trajectory.hvplot#
- Trajectory.hvplot(*args, **kwargs)#
Generate an interactive plot using HoloViews.
The following parameters are set by default:
geo=True, tiles=’OSM’, marker_size=200, line_width=2.0
- Parameters:
args – These parameters will be passed to the TrajectoryPlotter
kwargs – These parameters will be passed to the TrajectoryPlotter
- Return type:
Holoviews plot
Examples
Plot speed along trajectory (with legend and specified figure size):
>>> trajectory.hvplot(c='speed', line_width=7.0, width=700, height=400, colorbar=True)