- Hard deprecation of
as_tidyplot()
. Converting a ggplot to a tidyplot was probably never a good idea.
- Switch from the magrittr pipe
%>%
to the base R pipe|>
in both the documentation and code (#55, #56)
- The
energy
dataset has been updated to contain the correct energy values in TWh. The variablepower
has been renamed toenergy
. This change will affect all code that uses theenergy
dataset.
- The
limits
parameter ofadjust_x_axis()
andadjust_y_axis()
had no effect when combined withadd_count_*()
(#41).
- New color scheme
colors_discrete_rainbow
(@electrolars, #35). save_plot()
gainsview_plot
argument to control whether to view the plot on screen after saving (#40).- New
add_annotation_text()
,add_annotation_rectangle()
,add_annotation_segment()
for including annotation at specific coordinates (#38).
- The standard deviation (SD) in
add_sd_errorbar()
andadd_sd_ribbon()
is now shown as one time SD, not 2 times SD as before. Thanks to @awata25 for spotting this (#25).
- Improved documentation (#6).
- The default
dodge_width
is now determined by a heuristic (#13). - Tidyplots now requires ggplot2 (>= 3.5.0) (#16).
- The minimal themes
theme_minimal_*()
now have axis ticks. - New color scheme
colors_discrete_alger
suggested by @loukesio (#18). - New function
adjust_theme_details()
(#23) - New arguments
fontsize
,family
,face
, andcolor
inadjust_title()
,adjust_caption()
,adjust_x_axis_title()
,adjust_y_axis_title()
, andadjust_legend_title()
for more detailed control over fonts (#24).
- Initial CRAN release
- New S3 class
tidycolor
for color schemes. The print method oftidycolor
sends a html preview of the color scheme to the RStudio viewer panel. - New
new_color_scheme()
to create custom color schemes. - New build-in color schemes using the prefix
colors_discrete_
,colors_continuous_
andcolors_diverging_
. adjust_colors()
now also works with too few or too many provided colors.- New function factory behind
adjust_x_axis()
andadjust_y_axis()
- Updated README and documentation.
- The package is still in early development. Expect user-facing and breaking changes.
- Renaming functions to improve consistency.
- The package is still in early development. Expect user-facing and breaking changes.
- Initial release.