Skip to content

matplotlib 3.10 - changes #79

@jdhenshaw

Description

@jdhenshaw

update to 3.10 is leading to some errors, and the changes are not backward compatible e.g. RadioButtons in scousecoverage.py (fix below). There may be more...

def make_radiobuttons(ax,options,function,**kwargs):
"""
GUI setup
"""
from matplotlib.widgets import RadioButtons
myradiobuttons=RadioButtons(ax,options, radio_props=dict(marker='o', s=12), **kwargs)
# for circle in myradiobuttons.circles: # adjust radius here. The default is 0.05
# circle.set_radius(0.05)
myradiobuttons.on_clicked(function)
return myradiobuttons

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions