Support linewidth
aesthetic to control the sizing of the width of lines
#742
Labels
linewidth
aesthetic to control the sizing of the width of lines
#742
ggplot2
recommends using thelinewidth
aesthetic instead ofsize
as of version 3.4.0 (see this blog post here: https://www.tidyverse.org/blog/2022/11/ggplot2-3-4-0/). The argument in the blog post is as follows: "The reason for this change is that prior to this releasesize
was used for two related, but different, properties: the size of points (and glyphs) and the width of lines. Since one is area based and one is length based they fundamentally needs different scaling and the default size scale has always catered to area sizing, using a square root transform. "Ideally, the following works in
plotnine
as well (as it does inggplot2
):The text was updated successfully, but these errors were encountered: