Currently when 3D data is passed to generate_trajectory_plots, it projects it into 2D in the x/y and x/z planes. I propose that we add an addition viz function called generate_trajectory_plots_3D that instead renders the trajectory plots in an interactive viewer with plotly.
Something like this already implemented for PCs in plot_pcs_3D, which includes a slider to switch between different PCs. We could similarly use a slider to toggle between different syllables for the trajectory plots. Also, once this is implemented, it would be nice to add it to the 3D-specific tutorial notebook mentioned in https://github.com/dattalab/keypoint-moseq/issues/64.
Currently when 3D data is passed to
generate_trajectory_plots
, it projects it into 2D in the x/y and x/z planes. I propose that we add an addition viz function calledgenerate_trajectory_plots_3D
that instead renders the trajectory plots in an interactive viewer with plotly.Something like this already implemented for PCs in
plot_pcs_3D
, which includes a slider to switch between different PCs. We could similarly use a slider to toggle between different syllables for the trajectory plots. Also, once this is implemented, it would be nice to add it to the 3D-specific tutorial notebook mentioned in https://github.com/dattalab/keypoint-moseq/issues/64.For developing this feature, it may be useful to use these 3D tracking data and modeling results.