Plot_trajectories specific body parts

I’ve been using plot_trajectories and have seen that it now allows for selection of bodyparts however, I can’t see any details of how to select specific body parts. Apologies for the basic question- I’ve tried adding the displayedbodyparts optional parameter from create_labelled_video but get a syntax error. Thanks in advance!

You can pass either ‘all’ (the default) or a list of bodypart names. When in doubt, have a look at the function docstring by typing the function name followed by a question mark in IPython:
deeplabcut.plot_trajectories? :slight_smile:

Thank you so much, that’s really helpful!

1 Like