`create_labeled_video` passed input `displayedbodyparts` list not plotting all items

Is there an existing issue for this?

  • I have searched the existing issues

Bug description

When I run deeplabcut.create_labeled_video(path_config_file,videofile_path, displayedbodyparts=['zero','one','two','three','four']) only part zero is displayed on the output video, whereas all 5 items should be displayed.

This is a new behavior that is changed; perhaps in matplotlib? I am using version 3.7.1

Operating System

linux (colab)

DeepLabCut version

2.3.5

DeepLabCut mode

single animal

Device type

gpu

Steps To Reproduce

import latest DLC, try to create a labeled video with specific keypoints only (not 'all')

Relevant log output

No response

Anything else?

thanks @n-poulsen !

Code of Conduct