What Is New in 4.8.0#

  • geom_pointdensity() Geometry

    ../../_images/geom_pointdensity.png

    See example notebook.

  • Explicit group aesthetic now overrides default grouping behavior instead of combining with it

    Important

    BREAKING CHANGE:

    Previously, setting group='variable' would group by both the explicit variable AND any discrete aesthetics (color, shape, etc.). Now it groups ONLY by the explicit variable, matching ggplot2 behavior. Use group=[var1, var2, ...] to group by multiple variables explicitly, and group=[] to disable any grouping.

    ../../_images/group_override_defaults.png

    See example notebook.

  • gggrid(): support for shared legends (parameter guides)

    ../../_images/gggrid_legend_collect.png

    See example notebook.

  • Better handling of missing values in geom_line(), geom_path(), geom_ribbon(), and geom_area()

    ../../_images/missing_values_ribbon.png

    See example notebook.

  • geom_histogram(): custom bin bounds (parameter breaks)

    See example notebook.

  • Legend automatically wraps to prevent overlap — up to 15 rows for vertical legends and 5 columns for horizontal ones

    See example notebook.

  • flavor_standard() resets the theme’s default color scheme

    Use to override other flavors or make defaults explicit.

    See example notebook.

  • ‘left’, ‘right’, ‘top’, and ‘bottom’ legend justification

    See example notebook.

  • ggtb(): Added size_zoomin and size_basis parameters to control point size scaling behavior when zooming (works with geom_point and related layers)

    See: example notebook.

  • And More

    See CHANGELOG.md for a full list of changes.

Change Log#

See CHANGELOG.md for other changes and fixes.