Skip to content

Conversation

@kasemir
Copy link
Collaborator

@kasemir kasemir commented Oct 25, 2024

Y axis autoscale would constantly update the axis by minuscule amounts as seen in the left plot.

There is already some "headroom" added to the axis range, this PR uses that as hysteresis, suppressing axis updates that stay within the headroom, as seen in the right plot

plot_hysteresis.mov

@kasemir kasemir merged commit 119bd96 into master Oct 25, 2024
2 checks passed
@kasemir kasemir deleted the autoscale_hyst branch October 25, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants