I found a solution here: Autorescaling y axis range when range slider used
Adding fixedrange= False in the yaxis options fixed the issue for me.
I found a solution here: Autorescaling y axis range when range slider used
Adding fixedrange= False in the yaxis options fixed the issue for me.