ggblanket 12.4.0900
- Breaking: adjusted
annotate_axis_linearguments. - For dates etc, defaulted labels to
scales::label_date_short(leading = ""). - Added
standardise_width.
ggblanket 12.4.0
CRAN release: 2025-06-03
- Breaking: removed
set_geom_fontandset_geom_reference_line. - Breaking: renamed
*_expand_limitsto*_limits_include. - Breaking: removed
gg_ribbon_line. Usegg_smooth(stat = "identity", ...)instead. - Added
bind_each_allfunction to assist with plotting groups alongside the total. -
set_blanketnow sets hline, vline, text, and label defaults based on the theme.
ggblanket 12.3.0
CRAN release: 2025-04-28
- Breaking: renamed
aes_colour_contrasttoaes_contrast. - Breaking: removed
linewidthnesshelper. - Support default titles, subtitles and captions in
set_blanket. - Changed default
*_breaks_nforxoryto be either 6 or 4 (if faceted). Note, symmetric usesonly.loose = TRUEwhereasFALSEfor non-symmetric. - Added guides functions to over-ride legend colour.
ggblanket 12.2.0
CRAN release: 2025-03-10
- Breaking: made
weave_*functions internal. - Breaking: renamed
set_font_defaultstoset_geom_font. - Breaking: renamed
set_reference_defaultstoset_geom_reference_line. - Made
set_blanketwith ggplot2 code. - Exported
scale_x_symmetricandscale_y_symmetric. - For
*_mode_*themes, addedaxis_ticks_lengthargument. - Minor documentation updates.
ggblanket 12.1.0
CRAN release: 2025-01-27
- Breaking: renamed
weave_font_defaultstoset_font_defaults. - Breaking: renamed
weave_reference_defaultstoset_reference_defaults.
ggblanket 12.0.0
CRAN release: 2025-01-24
- Breaking: renamed
modeandmode_orientationarguments tothemeandtheme_orientation. - Breaking: renamed
label_to_caseargument tolabel_case. - Breaking: removed
mode_to_orientation_xandmode_to_orientation_yfunctions. - Breaking: removed
reference_*andtext_*arguments fromset_blanket, and made separateweave_*functions for these. - Breaking: renamed
weave_col_palettestoweave_col_palette. - Added functionality to set custom theme magic in
set_blanketandweave_theme. - Added functionality to set the
label_caseinset_blanketandweave_label_case. - Made
annotate_axis_linework with date and datetime. - Added support for both symmetric axes where both
*_transform = NULLandstat = "identity". - Minor changes to the vignette.
ggblanket 11.1.0
CRAN release: 2024-12-17
- Breaking: removed
aes_colour_darken,aes_colour_lighten,aes_fill_darkenandaes_colour_lighten. - Breaking: in
set_blanket, renamedreference_line_*arguments toreference_*. - Added R 4.2.0 dependency.
- Added colour blending (e.g.
blend = "multiply). - Removed
gg_ribbon,gg_boxplot,gg_crossbarandgg_smoothalpha default toNA. - Added
gg_ribbon_line. - Updated
*_mode_*themes to default toaxis_line_linewidth = 0.25. - In
set_blanket, removedthemeargument - and updatedweave_themeto applyweave_mode(mode = NULL).
ggblanket 11.0.0
CRAN release: 2024-11-22
- Breaking: in
set_blanket, changed default to usealpha = NA, and usedlinewidth = 0generally for polygons. - Breaking: redesigned
weave_geom_defaultsarguments, and updated inset_blanket. - Breaking: removed
weave_col_palette_*functions, and replaced with a singleweave_col_palettesfunction. - In
*_mode_*, updated the legend key size. - In
*_mode_*, removedbase_sizescaling of anything other than text size. - Supported
*_labelto work where a mode is set as a list with*_label = NULL. - Added
label_every_nth.
ggblanket 10.0.0
CRAN release: 2024-07-26
- Breaking: removed
*_limitsand*_oobarguments. - Breaking: removed
*_mode_nandgrey_mode_*functions. - Breaking: removed
grey_mode_*functions. - Breaking: removed
greynesshelper. - Breaking: in
set_blanket, removedannotate_*arguments. - Breaking: removed
*_orientationarguments from*_mode_*functions. - Breaking: in
*_mode_*, removedticks_length_*arguments. - Breaking: renamed
aes_contrasttoaes_colour_contrast. - In
set_blanket, added hierarchical arguments that set geom defaults. - Added
*_breaks_narguments. - Added
*_sec_axisarguments. - Added
*_symmetricarguments. - Added
mode_orientationargument. - Added
weave_*sub-setup functions. - Added
mode_orientation_to_xandmode_orientation_to_yfunctions. - Added
aes_colour_*andaes_fill_*functions inspired by work by (@teunbrand). - Made
mode_orientationconvert unneeded components to transparent. - For discrete colour scales, improved the determination of the number of colours required.
- In
*_mode_*, changedlineendto"square". - Fixed bug in
col_palette_*by adding....
ggblanket 9.1.1
CRAN release: 2024-06-14
- Forced user argument naming for
set_blanket(),*_mode_*()andaes_contrast(). - Fixed bug in colouring more discrete values than the set
col_palette_d. - Fixed bug in colouring with when
col_palette_dwas set with names not in the data. - Removed
mode_familyargument fromaes_contrast(). - Made
*_mode_t()and*_mode_b()havelegend.byrow = TRUE. - Made
*_mode_*()functions more intuitive to remove/adjust elements. - Changed
gg_sfdefault to keeping all major gridlines. - Updated hex colour strings to caps.
- Fixed code that was making the base plot an extra time unnecessarily.
- Fixed bug where
*_breaksand*_limitswas not working.
ggblanket 9.1.0
CRAN release: 2024-05-25
- Moved
mappingargument to within layer. - Determine x and y classes based on axis of a built plot.
- Guess orientation based on discrete y axis.
- Added
*_orientationarguments for when the orientation guess is incorrect. - Supported
col_paletteargument to accept a vector for ordinal variables. - Made pattern guide/label equal to colour/fill align automatically.
ggblanket 9.0.0
CRAN release: 2024-05-15
- Supported a label-based workflow.
- Breaking: renamed
*_titleto*_label. - Breaking: renamed
titles_to_casetolabel_to_case. - Breaking: removed
weave_*functions. - Breaking: removed
geom_linewidthandgeom_sizefromweave_geom_aesandset_blanket. - Fixed bug where
grey_mode_*/dark_mode_*were missing legend functionality. - Improved scales by using
scales::breaks_extended(). - In
dark_mode_*, fixed incorrectaxis_line_colourdefault. - In
*_mode_*, updated caption colour default. - Made guides of alpha/shape/size/linewidth/linetype aesthetics equal to colour/fill align automatically.
- Breaking: removed
replace_seq. - Added
col_dropandfacet_droparguments. - Fixed bug relating to
gg_bin_2dscales. - Updated the default NA colour used for continuous colour scales to
#988f88ff"(i.e.colorspace::darken(grey, 0.25)). - Supported the use of
scales::pal_*()functions within thecol_paletteargument.
ggblanket 8.0.0
CRAN release: 2024-04-29
- Breaking: renamed
col_paltocol_palette. - Breaking: removed ability to use
col_palettewhencol = NULL. - Breaking: in
set_blanketandweave_*, renamed arguments. - Updated
set_blanket()andweave_col_palette_*()to set the defaultcol_palette. - Updated
set_blanket()andweave_*()to set ggplot2 as well as ggblanket. - Added
jumblediscrete colour palette. - Added
red,pinkandpurple. - Changed the
col_palette_nadefault to"seashell3". - Added
orientationargument to*_mode_*functions for use with ggplot2. - Breaking: in
aes_contrast, added arguments to optimise for modes, and renamed arguments. - Breaking: removed
facet_labels_positionandfacet_labels_switch. - Breaking: adjusted
*nesshelper palettes. - Added arguments to
*_mode_*for more control of colours/linewidths etc. - Minor
*_mode_*updates. - Made compatible with extension geoms with no x or y variables in
layer_data.
ggblanket 7.0.0
CRAN release: 2024-03-28
- Added
set_blanketfunction, which is now required to set the style. - Added
weave_geom_defaultsandweave_annotate_defaultshelper functions. - Supported the use of
colourandfill. - Breaking: removed all
alphaarguments. - Breaking: renamed
mode_settoweave_mode. - Breaking: in
aes_contrast, renamedcol_paltocontrast_pal. - Breaking: removed
greys. - Breaking: removed
plum. - Improved
*_expanddefaults for histograms and bar graphs etc. - Fixed bug to support use of a named
col_pal. - Fixed bug when positional scale reversed with
*_expand_limits.
ggblanket 6.0.0
CRAN release: 2024-02-23
- Rewrote code completely.
- Exported
gg_blanketfunction, which allows for a ggproto geom (or character string) to be added. - Added
aes_contrastfor a colour aesthetic that automatically contrasts with the fill aesthetic inspired by work by (@teunbrand, #649) ** Addedalphaaesthetic support with newalpha,alpha_palandalpha_*arguments. - Added
statsupport for a ggproto object (or character string). - Added
positionsupport for a ggproto object (or character string). - Added
transformsupport for a transform class object (or character string). - Added
facet_axesandfacet_axis_labelsarguments. - Added
facet_labels_positionargument. - Added
gg_quantile,gg_rug, andgg_functionfunctions. - Added
col_stepsargument to support colouring by steps. - Added
*_positionargument to support changing axis positions. - Added
mode_setfunction. - Breaking: made
theme_setset the theme globally with no side-effects. - Breaking: Added
light_mode_*,dark_mode_*andgrey_mode_*family of functions. - Updated
gg_*functions to pretty removal of a axis line and ticks. - Changed default theme to place the legend on the top right.
- Changed NULL effect of pretty axis
*_limits = c(NA, NA)ony_expandNULL. - Improved default gridlines, and changed their default colour.
- Fixed bug when
colis logical class. - Added new helper hex codes
blue,teal,orange,navy,plum, andgreys - Updated the default discrete palette.
- Breaking: shift
...to the front to require users to name arguments. - Breaking: renamed
themeargument tomode. - Breaking: renamed
paltocol_pal. - Breaking: renamed
pal_natocol_pal_na. - Breaking: renamed
alphatoalpha_pal. - Breaking:
alphanow refers to the aesthetic only. - Breaking: renamed
*_includeto*_expand_limits. - Breaking: renamed
*_transto*_transform. - Breaking: removed
col_legend_placeargument. - Breaking: removed
*_sec_axisargument. - Breaking: removed
light_modeanddark_modefunctions. - Breaking: removed
col_scaleargument. - Breaking: removed
gg_blankfunction. - Breaking: removed
*_gridlinesarguments. - Breaking: renamed
facet_switchargument tofacet_labels_switch. - Breaking: removed
guardianfunction. - Breaking: renamed
str_keep_seqtoreplace_seq. - Breaking: renamed
titlestotitles_to_case. - Breaking: removed magic where
*_title = ""removed the title. - Improved log transform defaults.
- Changed
legend.byrowto FALSE. - Each
gg_*function’s help now inherits parameters fromgg_blanket(@olivroy, #625). Other improved documentation of help (@olivroy, #643).
ggblanket 5.2.0
CRAN release: 2023-11-10
- Updated colours:
#357BA2ormako[9](5)where no col aesthetic,guardianwhere discrete and 4 or less colours, scales:hue_pal for 5 or more colours,viridisLite::makoreversed for continuous, and"grey"for NA. - Breaking: removed all
pal_*functions. - Removed some unnecessary messages.
- Fixed bug where
col_breakswas not working for a numericcol. - Fixed bug where
str_keep_seqwas not working for date, datetime or time class. - Fixed bug so that time class variables work.
- Fixed bug for
gg_contour_filledandgg_density_filledwith default number of colours. - Improved default positional breaks.
- Ensured positional breaks take expand into account.
- Updated
gg_qq, so it includes ageom_qq_linelayer, has nicerx_title,y_titleandcoorddefaults. - Added more positional scale arguments to
gg_sf(i.e.*_limits,*_expand,*_breaks, and*_labels). - Improved margins where
col_legend_placeis top.
ggblanket 5.1.0
CRAN release: 2023-09-19
- Fixed bug where
colvariable was reversing for non-flipped. - Added
pal_light_modeandpal_dark_mode.
ggblanket 5.0.0
CRAN release: 2023-09-12
- Added
mappingargument to allow extra aesthetics to be included, such asshape(or use delayed evaluation for aesthetics other thancol,colour,filloralpha). - Added
statargument back for flexibility. - Added
linetype_title,shape_title, andsize_titlearguments. - Added
str_keep_seqhelper function to support keeping labels in a sequence. - Breaking: made horizontal y characters and factors plot values from low at bottom to high at top.
- Breaking: removed
lower,middle,upper,xlower,xmiddle, andxupperarguments fromgg_blank. - Updated
*_breaksdefaults. - Made plot order logical variables with
TRUEfirst. - Added
pal_discrete2with 6 colour blind safe colours for a light background theme.
ggblanket 4.0.0
CRAN release: 2023-08-08
- Breaking: removed the
statargument for allgg_*functions exceptgg_blank. - Breaking: renamed
pal_huetopal_discreteand made colours relatively red/green colour blind safe. - Breaking: renamed
gg_bin2dtogg_bin_2d. - Breaking: changed
*_oobdefault back toscales::oob_keep. - Improved scales to work better with transformations, limits, breaks etc.
- Added
gg_contour,gg_contour_filled,gg_density2d,gg_density2d_filledfunctions. - Made default to keep unused factors across all scales and facets.
- Made default continuous label function to drop trailing zeros.
- Made default legend place simpler: bottom, unless continuous. Otherwise right.
- Added
textaesthetic in forplotly::ggplotly.
ggblanket 3.0.0
CRAN release: 2023-06-30
- New theme functions:
light_modeanddark_mode. - Breaking: removed
gg_theme. - Breaking: renamed
*_gridarguments to*_gridlines. - Breaking: removed
voidargument. - Breaking: removed
gg_function. - Breaking: made
col_rescalerequire a function (e.g.scales::rescale()). - Added
facet_switchargument. - Made
col_legend_place = "none"only remove the col legend. - Made
gg_bin2dandgg_hexscales calculate in the same way as other functions. - For raster, removed col aesthetic so that legend would work.
- Improved
gg_sfdefaultalpha. - Supported
gg_sfto work with non-standard named geometry. - Thanks Nik Mitchell and Rosie Percival for feedback.
ggblanket 2.0.0
CRAN release: 2023-05-26
- Made ggblanket work better with adding layers.
- Made the
palno longer inherit to layers where nocolaesthetic. - Made x and y scales work better, including with NA in the limits.
- Added 2 colours to
pal_hue. - Breaking: changed default
*oobargument toscales::oob_censor. - Breaking: changed default
coordargument to includeclip = "off"argument. - Breaking: removed
add_tooltipfunction. - Breaking: changed pal functions to
pal_blue,pal_grey, andpal_hue.
ggblanket 1.7.0
CRAN release: 2023-03-06
- Updated
gg_themedefault axis-line and gridline thickness. - Supported named
palvectors. - Removed
clipargument. - Added in
coordargument. - Added in
*_oobarguments. - Improved how
*_limitsworks. - Removed default gridlines for
gg_sf. - Fixed bug with default
x_expand. - Fixed bug with
gg_histogramscales. - Critical fix to support dplyr 1.1.0.
- Supported colouring date, datetime and time variables.
- Made datetime breaks default to waiver.
- Breaking: removed
voidargument fromgg_theme. - Corrected bug with
gg_rasterlegend not showing. - Updated
gg_raster*_limitsand*_expanddefaults. - Internal function to make infinite values NA made compatible with dplyr 1.1.0 (#269, @DavisVaughan)
ggblanket 1.6.0
CRAN release: 2022-11-18
- Breaking: renamed
add_tooltip_texttoadd_tooltipand changed column name to “tooltip”. - Breaking:
coordargument removed. - Added
clipargument and defaulted to “on”. - Made
xandylimits also act within the coord. - Made
gg_blankmore powerful and flexible. - Improved horizontal flipped plot scales.
- Fixed bugs relating to free
facet_scalesand scale limits. - Improved vignette.
ggblanket 1.5.0
CRAN release: 2022-10-14
- Breaking: redesigned
gg_theme. - Added automatic gridline removal.
- Added
gg_bin2dfunction. - Added
gg_hexfunction. - Added
col_transandcol_rescalearguments. - Made
col_legend_placedefault “r” where numeric col variable. - Made
*_title = ""equivalent to+ labs(* = NULL). - Supported
xandydatetime variables. - Supported
xandytime variables. - Redesigned internal code for
x,yandcolscales.
ggblanket 1.4.0
CRAN release: 2022-09-02
- Breaking: Removed
col_intervalsargument. - Breaking: Removed
*_oobargument. - Breaking: In
gg_theme, changed*_stylearguments to*_face. - Breaking: In
gg_theme, changedfontarguments tofamily. - Added
gg_polygonfunction. - Added
col_continuousargument to support colouring by “steps”. - Added
col_legend_revargument to reverse legends. - Added
facet_layoutargument for more faceting flexibility. - Added
facet_spaceargument to support proportional facet panels. - Removed
widthdefault. - Improved default legend look for where continuous gradient.
- Improved scales where
yis NULL and plot is horizontal. - Fixed bug with
position = "fill". - Updated messages.
- Added vignette.
ggblanket 1.3.0
CRAN release: 2022-08-05
- Breaking: removed
facet_intervalsargument. - Breaking: made extensive changes to
gg_themefunction. - Added
facet2aesthetic in to support effortless grid faceting. - Changed default background theme colours.
- Fixed bug with
*_limitsand*_includenot working correctly. - Added
*_sec_axisarguments. - Changed
*_oobdefault toscales::oob_keep. - Removed reversal of logical variable order.
- Defaulted
col_legend_placeto"b".
ggblanket 1.2.0
CRAN release: 2022-07-01
- Breaking: Removed
*_breaks_nand*_breaks_width. - Added support for
*_breaksto receive a function. - Added
*_includeargument. - Added
*_transargument. - Modified default
x_breaksbehaviour for when both x and y are numeric or date. - Enhanced
gg_blankto work with only one x or y. - Provided support for
ggplotly. - Added new
add_tooltip_textfunction. - Added new
titlesargument to apply a function across titles. - Support
gg_functions working with more stats. - Removed
sizeargument, in anticipation of ggplot2 3.4.0. - Updated
gg_themetitle vjust and margins.
