Skip to content

egui_plot: Improve default formatter of tick-marks#4738

Merged
emilk merged 7 commits into
masterfrom
emilk/improve-plot-formatting
Jun 30, 2024
Merged

egui_plot: Improve default formatter of tick-marks#4738
emilk merged 7 commits into
masterfrom
emilk/improve-plot-formatting

Conversation

@emilk
Copy link
Copy Markdown
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
@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