I have a slider and a RadioButton on a plot (very similar to the one show here: https://matplotlib.org/3.1.1/gallery/widgets/slider_demo.html). If I change the Amp and Freq sliders and then hit reset, the plot goes back to its initial values. However, if I change red to blue and then hit reset, it stays on blue. How can I reset a RadioButton? I use the following to reset the slider:
def resetplt(event)
svalueM.reset()
where svalueM is defined as:
svalueM = Slider(slider_M, 'M', smin, smax, valinit=sinit)