traja.accessor.TrajaAccessor.plot_interactive

TrajaAccessor.plot_interactive(**kwargs)[source]

Create interactive 2D or 3D trajectory plot using plotly.

Parameters:

**kwargs – Additional arguments passed to plotly

Returns:

Interactive plot figure

Return type:

plotly.graph_objs.Figure

Note

Requires plotly: pip install plotly

Example

>>> fig = df.traja.plot_interactive()
>>> fig.show()