NNSOM.utils.create_buttons

NNSOM.utils.create_buttons(fig, button_types)[source]

Create labelled matplotlib Button widgets in a sidebar.

Parameters:
Returns:

buttons – Mapping from button label to its Button widget.

Return type:

dict of {str: matplotlib.widgets.Button}