From d5e5cd1c4a8684ca89cfea0da85fa3eb187983ac Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Mon, 28 Mar 2022 11:39:59 -0400 Subject: [PATCH] legend --- src/egui_app.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egui_app.rs b/src/egui_app.rs index 6fa402d..4199886 100644 --- a/src/egui_app.rs +++ b/src/egui_app.rs @@ -693,6 +693,7 @@ impl epi::App for MathApp { .set_margin_fraction(Vec2::ZERO) .data_aspect(1.0) .include_y(0) + .legend(egui::plot::Legend::default()) .show(ui, |plot_ui| { let bounds = plot_ui.plot_bounds(); let minx_bounds: f64 = bounds.min()[0];