Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Generate an interactive plot.
Parameters
----------
args :
These parameters will be passed to the TrajectoryPlotter
kwargs :
These parameters will be passed to the TrajectoryPlotter
Examples
--------
Plot speed along trajectories (with legend and specified figure size):
>>> trajectory_collection.hvplot(c='speed', line_width=7.0, width=700, height=400, colorbar=True)
"""
return _TrajectoryCollectionPlotter(self, *args, **kwargs).hvplot()
Generate a plot.
Parameters
----------
args :
These parameters will be passed to the TrajectoryPlotter
kwargs :
These parameters will be passed to the TrajectoryPlotter
Examples
--------
Plot speed along trajectories (with legend and specified figure size):
>>> trajectory_collection.plot(column='speed', legend=True, figsize=(9,5))
"""
return _TrajectoryCollectionPlotter(self, *args, **kwargs).plot()