Changelog
Source:NEWS.md
snp 0.1.0
Breaking changes
-
standard_normal_scales(),standard_normal_custom()andstandard_normal_plot()are replaced by one function,plot_normal(). It draws the standard scales by default, and scales of your own when given a data frame:# before standard_normal_scales(palette = "reds") standard_normal_custom(my_scales) # now plot_normal(palette = "reds") plot_normal(my_scales)The first argument of
plot_normal()isscales, where it wassizeinstandard_normal_scales()andstandard_normal_plot(), so give the size by name:plot_normal(size = 5), notplot_normal(5).standard_normal_scales_data()keeps its name.
New
-
plot_normal_height()returns the height of a figure that a chart fills exactly at a given width, in inches, centimeters or millimeters, to save it withggsave()without empty margins.