Get Python Matplotlib Radiobutton selection
Asked Answered
D

0

0

In Python, I can create Matplotlib Radiobuttons using code like this:

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

How do I get the index of the currently active radio button outside the callback function?

Dosh answered 16/7, 2014 at 10:26 Comment(2)
Can you provide a minimal working example for people to test with?Sofiasofie
use on_clicked to register a call backStudley

© 2022 - 2024 — McMap. All rights reserved.