egui
egui copied to clipboard
Additional plot functionallity
This is based on https://github.com/emilk/egui/pull/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.