Get Python Matplotlib Radiobutton selection

自作多情 提交于 2019-12-25 03:42:36

问题


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?

来源:https://stackoverflow.com/questions/24778441/get-python-matplotlib-radiobutton-selection

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!