Rescale Y-Axis When Using X-Axis Range Selector

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.