UI improvements

This commit is contained in:
Simon Gardling
2022-03-01 00:36:13 -05:00
parent 2cdf5ccd31
commit 5c38fe514f
6 changed files with 89 additions and 26 deletions

View File

@@ -241,8 +241,8 @@ impl epi::App for MathApp {
Plot::new("plot")
.set_margin_fraction(Vec2::ZERO)
.view_aspect(1.0)
.data_aspect(1.0)
// .view_aspect(1.0)
// .data_aspect(1.0)
.include_y(0)
.show(ui, |plot_ui| {
let bounds = plot_ui.plot_bounds();