Recent Releases of ggh4x
ggh4x - ggh4x 0.3.1: Chlorofluorocarbons
This is a patch release with no new features or bug fixes.
- Maintaining compatibility with ggplot2
- The functions that were deprecated in 0.3.0 now return 'unflavoured' variants.
For example
guide_axis_nested()will just returnguide_axis().
- R
Published by teunbrand 9 months ago
ggh4x - ggh4x 0.3.0: Rollerblade Disco
This is a new minor release, introducing a few small features, bug fixes and deprecating the position guides in favour of the legendry package.
Improvements
- Added
at_panel()for annotating specific panels in facets (#162). - New
strip_tag()strip function (#149). guide_stringlegend()has been modernised to use the ggplot2 3.5.0 guide system instead of the old S3 system.- Facets allow take the
stripas strings and functions too. coord_axis_inside(labels_inside)now supports independent"x"and"y"(#167).help_secondary()has a newna.rmargument (#146, thanks @jrmuirhead!).
Bug fixes
- Fixed bug in label remover (#158).
- Fixed bug in axis
check.overlapsetting (#165). - Future-proofing of wrapped facets.
- Fixed a bug when using facets with extension elements (#151).
- Tweaked test for upcoming release of fitdistrplus (#176)
Deprecations
- The following functions have been deprecated in favour of both base ggplot2 and
the legendry package. They are scheduled to be removed in the next non-hotfix
update.
scale_x_dendrogram()andscale_y_dendrogram()in favour oflegendry::scale_x_dendro()andlegendry::scale_y_dendro().guide_dendro()in favour oflegendry::guide_axis_dendro().guide_axis_truncated()in favour ofggplot2::guide_axis(cap = TRUE).guide_axis_colour()in favour ofggplot2::guide_axis(theme = ...).guide_axis_minor()in favour ofggplot2::guide_axis(minor.ticks = TRUE).guide_axis_logticks()in favour ofggplot2::guide_axis_logticks().guide_axis_nested()in favour oflegendry::guide_axis_nested().guide_axis_manual()in favour oflegendry::guide_axis_base(key = ...).guide_axis_scalebar()in favour oflegendry::primitive_bracket().
- R
Published by teunbrand about 1 year ago
ggh4x - ggh4x 0.2.8: Gelatin Cuisine
This is a small release fixing a NOTE by request. In addition, there are two bugfixes.
- Fixed a bug in the
strip_vanilla(size)argument (#143) - Fixed a bug in axis layout in
facet_wrap2()(#140)
- R
Published by teunbrand about 2 years ago
ggh4x - ggh4x 0.2.7: Brick-shaped Telephones
This is a small release for future compatibility with ggplot2, along with some bugfixes.
- Anticipatory changes for ggplot2 3.5.0.
force_panelsizes()can now take 'bigpts' units astotal_widthortotal_heightarguments (#118)- Fixed bug in
facet_nested()whenmargins = TRUE(#121) - Fix bug related to mixing standard scales and facetted scales (#137)
- R
Published by teunbrand about 2 years ago
ggh4x - ggh4x 0.2.5: Floppy Disk
This is a small release for future compatibility with ggplot2, along with some minor improvements. Moreover, the life cycle of guides has been set to 'questioning' because they might be migrated to a new package using an upcoming overhaul of the guide system. The guides won't be deprecated until alternatives are available.
New features
facet_grid2(), and by extensionfacet_nested()too, gains arender_emptyargument that can leave panels without data blank (#69).- Added the
solo_lineargument to nested facets (#90). force_panelsizes()gains atotal_widthandtotal_heightargument to set the size of the total panel area.
Improvements
- Swapped inheritance of the
nest_linein nested facets: it is now a line element that inherits from blank elements, and the theme default is a blank element. This makes it more responsive to the theme setting (#89). - Anticipated compatibility with future ggplot2 > 3.4.2.
stat_difference()is now more performant, particularly for larger data.stat_difference()no longer outputs a 0-level.stat_rle()now considersNAs as equivalent values, unlikebase::rle().- Curb back overzealous whitespace removal in
facet_manual()(#106). scale_{x/y}_facet()now uses quosures instead of expressions (#101).
- R
Published by teunbrand over 2 years ago
ggh4x - ggh4x 0.2.4
This is a small release for compatibility with ggplot2 3.4.2, along with some minor improvements and bug fixes.
New features
scale_{x/y}_manual()is a semi-discrete scale that accepts categorical input and maps this a continuous output (#94).
Improvements
facet_manual()can now not only omit axes when panels occupy 1 cell in the axes' direction, but also when all panels in the same rows/columns occupy the same range of cells, when scales are not free.facet_manual()now tries to omit white space introduced by axis placement when scales are not free (#86)- Added
invoption to invert the label order from outer to inner inguide_axis_nested().
Bug fixes
- Avoid spurious warning in
guide_axis_nested()(#97). - Compatibility with ggplot2 3.4.2 (#95).
- Improved error messages (#91).
- Fixed
annotate(geom = "pointpath")(#83). - Fixed bug in
geom_box()whereradiusis now properly handed off to the grob.
- R
Published by teunbrand almost 3 years ago
ggh4x - Hairspray Hairdo
This is a patch release fixing a few bugs and a broken unit test.
- Fixed misplacement of nest lines in vertical strips (#50).
- Fixed bug in setting aspect ratio in
facet_grid2()and family (#56).
- R
Published by teunbrand over 4 years ago
ggh4x - Polyester Magnetic Tape
Features
facet_grid2()mirrors the axis options offacet_wrap2()but with a grid layout.facet_manual()mimics the base Rlayoutstrategy for panels.- facet functions have a
stripargument that allows greater control over the strips.strip_vanilla()allows control over clipping an sizesstrip_themed(): allows more precise theme settings per stripstrip_nested(): merges adjacent labels
guide_axis_manual()for greater control over axes.stat_difference()for interpolated ribbons showing the difference between two lines.help_secondary()for contstructing secondary axes
Adjustments
- The
free,axesandremove_labelsarguments in facets now require less ambiguous input. facet_nested()/facet_nested_wrap()now takes an element asnest_lineargument.facet_nested()/facet_nested_wrap()nesting is now controlled via thestripargument.facet_wrap2()has thetrim_blankoption.- Position guides now have the
colourargument to quickly set the colour for all theme elements.
Bug fixes
- Spelling and grammar improvements
geom_pointpath()can now take 1-member groups- facets can now render
strip.text = element_blank()type strips. - Date scales should now behave better in
facetted_pos_scales() - Truncated axes should now work better with discrete scales.
- R
Published by teunbrand over 4 years ago
ggh4x - Cathode Ray Tubes
This release includes a bunch of new features.
- R
Published by teunbrand about 5 years ago