Draw RadioButtons using scatter to ensure circular buttons. · matplotlib/matplotlib@26580cc · GitHub
Skip to content

Commit 26580cc

Browse files
committed
Draw RadioButtons using scatter to ensure circular buttons.
To ensure backcompat without bothering the majority of users who don't actually access the .circles attribute, dynamically (and irreversibly) switch back to the old draw method (list of Circles) whenever that attribute is accessed for the first time (if ever).
1 parent 1fa7467 commit 26580cc

3 files changed

Lines changed: 50 additions & 45 deletions

File tree

Binary file not shown.

lib/matplotlib/tests/test_widgets.py

Lines changed: 11 additions & 8 deletions

lib/matplotlib/widgets.py

Lines changed: 39 additions & 37 deletions

0 commit comments

Comments
 (0)