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, fill = Sepal.Width)) +
geom_point(shape = 21, size = 4) + si_legend_fill() + si_style()
} # }