Skip to content

Commit

Permalink
Change default plot line thickness from 1.0 to 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 29, 2024
1 parent ab39420 commit 058f60d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui_plot/src/items/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ impl Line {
pub fn new(series: impl Into<PlotPoints>) -> Self {
Self {
series: series.into(),
stroke: Stroke::new(1.0, Color32::TRANSPARENT),
stroke: Stroke::new(1.5, Color32::TRANSPARENT), // Note: a stroke of 1.0 (or less) can look shitty on low-dpi-screens
name: Default::default(),
highlight: false,
fill: None,
Expand Down

0 comments on commit 058f60d

Please sign in to comment.