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(),