You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Substitute all references to the "size" column in the data with a reference to "linewidth" while falling back to "size" (so that your code works prior to the next release of ggplot2). Example:
data$size
changes to
data$linewidth %||% data$size
Add a new field to your ggproto Geom class:
rename_size = TRUE
(this takes care of converting incoming size aesthetics to linewidth and hooking it up with the correct scale etc)