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

egui_plot: Improve default formatter of tick-marks #4738

Merged
merged 7 commits into from
Jun 30, 2024

Conversation

emilk
Copy link
Owner

@emilk emilk commented Jun 30, 2024

The default Plot formatter now picks precision intelligently based on zoom level. The width of the Y axis are is now much smaller by default, and expands as needed.

Also deprecates Plot::y_axis_with; replaced with y_axis_min_width.

@emilk emilk added the egui_plot Related to egui_plot label Jun 30, 2024
@emilk emilk merged commit b6fd1cf into master Jun 30, 2024
35 checks passed
@emilk emilk deleted the emilk/improve-plot-formatting branch June 30, 2024 12:20
hacknus pushed a commit to hacknus/egui that referenced this pull request Oct 30, 2024
The default `Plot` formatter now picks precision intelligently based on
zoom level. The width of the Y axis are is now much smaller by default,
and expands as needed.

Also deprecates `Plot::y_axis_with`; replaced with `y_axis_min_width`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui_plot Related to egui_plot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant