NEWS.md
geom_fit_text()
to flip text ‘the right way up’ when in polar coordinates (thanks @BradyAJohnston)rich
argument to geom_fit_text()
and geom_bar_text()
. Uses gridtext to render a subset of Markdown and HTML. This is liable to change and in particular there may be breaking changes as a result of upstream changes in gridtextgeom_bar_text()
(#29, thanks @gregleleu)geom_col()
(#23, thanks again @ds-jim)coffees
data frame renamed to beverages
, some other minor changes to example data framesgeom_fit_text()
geom_bar_text()
in flipped coordinates, including support for the new bi-directional geom_col()
in ggplot2 3.3.0 (#23, thanks @ds-jim)contrast = TRUE
now assumes ggplot2 default colours for fill
and panel.background
, so it can be used in the absence of a fill
aesthetic.contrast
in geom_bar_text()
; instead of defaulting to TRUE, it defaults to true if the text colour is black but to FALSE otherwise (#22, thanks @ds-jim)geom_bar_text()
now defaults to contrast = TRUE
outside
now defaults to FALSE with geom_bar_text()
unless position = "identity"
fullheight
min.size
argumentgeom_bar_text()
convenience function for labelling of bars in bar plotscontrast
argument for automatically contrasting a background fill colourfullheight
argument for including or excluding descenders in text sizehjust
and vjust
arguments that can be controlled independent of place
outside
argument to allow text that doesn’t fit inside the box to be teleported outside of itformatter
argument to geom_fit_text()
.width
and height
from aesthetics to arguments.width
and height
arguments to be provided in native units (thanks to @corybrunson).position = "stack"
.geom_fit_text()
documentation.geom_shrink_text()
and geom_fill_text()
replaced with single geom_fit_text()
with ‘fill_text’ option. (The old geoms still work, but as wrappers for geom_fit_text()
).discrete.height
and discrete.width
options.