From 0579f94ecc65e9b8840aead38c31c81fd9a39487 Mon Sep 17 00:00:00 2001 From: Johannes Schiffer Date: Sat, 21 Jan 2023 18:14:48 +0100 Subject: [PATCH] Remove default axis --- crates/egui/src/widgets/plot/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/egui/src/widgets/plot/mod.rs b/crates/egui/src/widgets/plot/mod.rs index f26808691..175d58b77 100644 --- a/crates/egui/src/widgets/plot/mod.rs +++ b/crates/egui/src/widgets/plot/mod.rs @@ -249,8 +249,8 @@ impl Plot { show_y: true, label_formatter: None, coordinates_formatter: None, - x_axes: vec![XAxisHints::default()], - y_axes: vec![YAxisHints::default()], + x_axes: Vec::new(), + y_axes: Vec::new(), legend_config: None, show_background: true, show_axes: true.into(),