"errorbar"
, "crossbar"
, "linerange"
, and "pointrange"
to the list of geoms that are automatically scaled based on the theme scale factorbase_scale
to plot_scale
for better claritycrsave()
function to use the scaling
argument from the ragg
package and to be handled more intuitively overallplot_scale
in theme_cr()
to handle making the plot look reasonable inside R, and then to use width
, ratio
, and scaling
to export the image at the desired sizingtidyselect
v1.2.0 and ggplot2
v3.4.0ggh4x
instead of ggplot
clip = "off"
by default, so the border width is now halved so it will display appropriately with the clipping offtheme_cut_*()
functions to be more specific and interact correctly with theme scalingcontrast3
palette to be more distinctabline
, vline
, hline
, and text
geoms, so they will now automatically scale as the plot size changescontrast3
base_scale
where the width
parameter was being overwritten unnecessarilybase_scale
in theme_cr()
reliably makes plot elements bigger or smaller, while base_scale
in crsave()
scales the plot size to match the scale applied in theme_cr()
if the width
is not providedtheme_cut_*
to remove plot elements from the tops and bottoms of figure panelsfix_bold()
to reapply bold text to plots with math-formatted labelstheme_cr()
, scale_color_cr()
and scale_fill_cr()
, and crsave()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.