movingpandas.Trajectory.plot#

Trajectory.plot(*args, **kwargs)#

Generate a plot using GeoPandas default plotting (Matplotlib).

Parameters:
  • args – These parameters will be passed to the TrajectoryPlotter

  • kwargs – These parameters will be passed to the TrajectoryPlotter

Return type:

Matplotlib plot

Examples

Plot speed along trajectory (with legend and specified figure size):

>>> trajectory.plot(column='speed', legend=True, figsize=(9,5))