Skip to content

Releases: teunbrand/ggh4x

ggh4x 0.3.0: Rollerblade Disco

15 Dec 18:35
Compare
Choose a tag to compare

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 strip as strings and functions too.
  • coord_axis_inside(labels_inside) now supports independent "x" and "y"
    (#167).
  • help_secondary() has a new na.rm argument (#146, thanks @jrmuirhead!).

Bug fixes

  • Fixed bug in label remover (#158).
  • Fixed bug in axis check.overlap setting (#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() and scale_y_dendrogram() in favour of
      legendry::scale_x_dendro() and legendry::scale_y_dendro().
    • guide_dendro() in favour of legendry::guide_axis_dendro().
    • guide_axis_truncated() in favour of ggplot2::guide_axis(cap = TRUE).
    • guide_axis_colour() in favour of ggplot2::guide_axis(theme = ...).
    • guide_axis_minor() in favour of
      ggplot2::guide_axis(minor.ticks = TRUE).
    • guide_axis_logticks() in favour of ggplot2::guide_axis_logticks().
    • guide_axis_nested() in favour of legendry::guide_axis_nested().
    • guide_axis_manual() in favour of legendry::guide_axis_base(key = ...).
    • guide_axis_scalebar() in favour of legendry::primitive_bracket().

ggh4x 0.2.8: Gelatin Cuisine

23 Jan 21:01
Compare
Choose a tag to compare

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)

ggh4x 0.2.7: Brick-shaped Telephones

24 Dec 13:50
Compare
Choose a tag to compare

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 as total_width or total_height
    arguments (#118)
  • Fixed bug in facet_nested() when margins = TRUE (#121)
  • Fix bug related to mixing standard scales and facetted scales (#137)

ggh4x 0.2.5: Floppy Disk

15 Jul 13:58
Compare
Choose a tag to compare

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 extension facet_nested() too, gains a render_empty
    argument that can leave panels without data blank (#69).
  • Added the solo_line argument to nested facets (#90).
  • force_panelsizes() gains a total_width and total_height argument to
    set the size of the total panel area.

Improvements

  • Swapped inheritance of the nest_line in 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 considers NAs as equivalent values, unlike base::rle().
  • Curb back overzealous whitespace removal in facet_manual() (#106).
  • scale_{x/y}_facet() now uses quosures instead of expressions (#101).

ggh4x 0.2.4

04 Apr 18:48
0f3e5f3
Compare
Choose a tag to compare

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 inv option to invert the label order from outer to inner in
    guide_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() where radius is now properly handed off to the
    grob.

Boom Box

09 Nov 17:54
Compare
Choose a tag to compare

This release syncs ggh4x with ggplot2 3.4.0, including the adoption of the linewidth aesthetic. In addition, the scale_{x/y}_facet() and geom_box() are introduced.

Hairspray Hairdo

24 Nov 14:43
Compare
Choose a tag to compare

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).

Polyester Magnetic Tape

20 Aug 13:57
Compare
Choose a tag to compare

Features

  • facet_grid2() mirrors the axis options of facet_wrap2() but with a grid layout.
  • facet_manual() mimics the base R layout strategy for panels.
  • facet functions have a strip argument that allows greater control over the strips.
    • strip_vanilla() allows control over clipping an sizes
    • strip_themed(): allows more precise theme settings per strip
    • strip_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, axes and remove_labels arguments in facets now require less ambiguous input.
  • facet_nested()/facet_nested_wrap() now takes an element as nest_line argument.
  • facet_nested()/facet_nested_wrap() nesting is now controlled via the strip argument.
  • facet_wrap2() has the trim_blank option.
  • Position guides now have the colour argument 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.

Cathode Ray Tubes

31 Jan 21:08
Compare
Choose a tag to compare

This release includes a bunch of new features.

Neon

05 Mar 19:34
Compare
Choose a tag to compare

Updates the package for ggplot2 version 3.3.0. Adds dendrogram scale and guide.