[IPython-dev] How to select multiple items in widgets like RadioButtons

EvelynLiu evelzw at gmail.com
Wed Dec 3 15:36:03 EST 2014


Hi,

For IPython.html.widgets.RadioButtons, it says only one radio button can be
toggled at any point in time. However, I am trying to build a widget where
several items can be selected simultaneously, like: 

widgets.RadioButtons(
    description='Speed:',
    values=['fast', 'regular', 'slow'],
)

What should I do to toggle 'fast' and 'regular' at the same time? 

I noticed in matplotlib.widghets, there is one called CheckButtons. Any
widgets in ipython widgets working like this?

Thanks!



--
View this message in context: http://python.6.x6.nabble.com/How-to-select-multiple-items-in-widgets-like-RadioButtons-tp5079566.html
Sent from the IPython - Development mailing list archive at Nabble.com.



More information about the IPython-dev mailing list