Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot: Add auto_bounds_x, auto_bounds_y and reset #2029

Merged
merged 4 commits into from Oct 2, 2022

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Sep 8, 2022

This is based on #2028.

This adds new auto_bounds_x and auto_bounds_y methods which allows auto bounds to be used in combination with include_x and include_y. The plot code is refactored to track when bounds are modified and it will use auto bounds and the values from include_x and include_y until then.

Double clicking is changed to reset the bounds to their initial value.

A new reset method is added which resets the plot state which is useful if you're loading a new dataset.

Copy link
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@emilk emilk changed the title Additional plot functionallity Plot: Add auto_bounds_x, auto_bounds_y and reset Oct 2, 2022
@emilk emilk merged commit 53ff837 into emilk:master Oct 2, 2022
@Zoxc Zoxc deleted the plot-tweaks branch October 2, 2022 16:52
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.

None yet

2 participants