Skip to content

Conversation

@n-poulsen
Copy link
Contributor

In release 3.7.0, matplotlib removed the drawtype attribute from the RectangleSelector. The rectprops attribute was changed to props (starting from release 3.5.0).

To be compatible with this & future releases, they must also be removed from DLC.

This should not affect users on older matplotlib releases, as the default value was already "box" (as shown here in release 3.3).

The rectprops=dict(facecolor='red', edgecolor='black', alpha=0.3, fill=True) argument was removed to be compatible with both matplotlib < 3.5 and matplotlib >= 3.7, so the default will be used (dict(facecolor='red', edgecolor='black', alpha=0.2, fill=True)). From my test there is no noticeable difference.

@AlexEMG AlexEMG requested a review from jeylau May 3, 2023 12:55
@AlexEMG AlexEMG merged commit c257fb5 into DeepLabCut:main May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants