Get a Choice Python Matplotlib Radiobutton

In Python, I can create a Radiobuttons Matplotlib using the following code:

rb = RadioButtons(pl.axes([0.01,0.5,0.08,0.14]),('A','B','C',)) 

How to get the index of the current active switch outside the callback function?

0
source share

Source: https://habr.com/ru/post/1210419/


All Articles