__init__ο
- SelectorButtons.__init__(f, labels, active=None, activecolor='blue', inactive_color='w', size=10, **kwargs)ο
A class to add buttons to switch layers.
- Parameters:
f (matplotlib.Figure) β The matplotlib figure to use
labels (list of str) β The button labels.
active (int) β The index of the initially selected button.
activecolor (color) β The color of the selected button.
size (float) β Size of the radio buttons
Legend. (Further parameters are passed on to) β