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
I would like to request the addition of an alpha argument to the element_rect() function in ggplot2. Adding an alpha argument to element_rect() would make it easier for users to adjust the transparency of rectangular elements without needing to manually calling ggplot2::alpha() or ggplot2::fill_alpha()
The text was updated successfully, but these errors were encountered:
Yeah let's go with just documenting how to set alpha on a colour. Alpha is separate from the colour/fill in geoms because they can be mapped from the data and thus be independent of a colour, whereas this generally doesn't occur with theme elements. Moreover, it would create some burden on extension developers to follow the same pattern in e.g. ggtext::element_markdown(), marquee::element_marquee(), ggh4x::element_part_rect() etc.
I would like to request the addition of an
alpha
argument to theelement_rect()
function in ggplot2. Adding an alpha argument to element_rect() would make it easier for users to adjust the transparency of rectangular elements without needing to manually callingggplot2::alpha()
orggplot2::fill_alpha()
The text was updated successfully, but these errors were encountered: