1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

egui_plot: Improve default formatter of tick-marks (#4738)

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`.
This commit is contained in:
Emil Ernerfeldt
2024-06-30 14:20:41 +02:00
committed by GitHub
parent 17fd305967
commit b6fd1cfc99
6 changed files with 121 additions and 67 deletions

View File

@@ -1355,6 +1355,7 @@ dependencies = [
"ahash",
"document-features",
"egui",
"emath",
"serde",
]