hrbrmstr / ggalt

:earth_americas: Extra Coordinate Systems, Geoms, Statistical Transformations & Scales for 'ggplot2'
https://cran.r-project.org/web/packages/ggalt/vignettes/ggalt_examples.html
Other
665 stars 98 forks source link

geom_dumbbell: change parameter size to linewidth #80

Open braunerphilipp opened 1 year ago

braunerphilipp commented 1 year ago

geom_dumbbell seems not to be upgraded to ggplot2 3.4.0 yet. When I use geom_dumbbell with the size parameter to set the linewidth, the resulting diagram is rendered correctly, but I get a warning message. If I change the size parameter to linewidth, the parameter seems to be ignored (diagram is rendered with the default linewidth).

I tried both ggalt 0.4.0 and the current dev version.

Using the `size` aesthietic with geom_segment was deprecated in ggplot2 3.4.0.
ℹ Please use the `linewidth` aesthetic instead.