Details
This helper function compliments the various si_style()
themes.
The main action is to move a fill-based legend to the top left
of the plot and stretch the legend. The same action can be done
using the ggplot2::guides()
function.
Examples
if (FALSE) { # \dontrun{
library(systemfonts)
library(ggplot2)
ggplot(iris, aes(Sepal.Length, y = Sepal.Width, color = Sepal.Width)) +
geom_point(size = 4) + si_legend_color() + si_style()
} # }