Download Latest Version ggplot2 4.0.2 source code.tar.gz (3.5 MB)
Email in envelope

Get an email when there's a new version of ggplot2

Home / v3.5.1
Name Modified Size InfoDownloads / Week
Parent folder
ggplot2 3.5.1 source code.tar.gz 2024-04-22 3.1 MB
ggplot2 3.5.1 source code.zip 2024-04-22 3.9 MB
README.md 2024-04-22 2.3 kB
Totals: 3 Items   7.0 MB 3

This is a small release focusing on fixing regressions from 3.5.0 and documentation updates.

Bug fixes

  • Fixed bug where discrete scales could not map aesthetics only consisting of NAs (#5623)
  • Fixed spurious warnings from sec_axis() with breaks = NULL (#5713).
  • Patterns and gradients are now also enabled in geom_sf() (@teunbrand, [#5716]).
  • The default behaviour of resolution() has been reverted to pre-3.5.0 behaviour. Whether mapped discrete vectors should be treated as having resolution of 1 is controlled by the new discrete argument.
  • Fixed bug in guide_bins() and guide_coloursteps() where discrete breaks, such as the levels produced by cut(), were ordered incorrectly (@teunbrand, [#5757]).

Improvements

  • When facets coerce the faceting variables to factors, the 'ordered' class is dropped (@teunbrand, [#5666]).
  • coord_map() and coord_polar() throw informative warnings when used with the guide system (#5707).
  • When passing a function to stat_contour(breaks), that function is used to calculate the breaks even if bins and binwidth are missing (@teunbrand, [#5686]).
  • geom_step() now supports lineend, linejoin and linemitre parameters (@teunbrand, [#5705]).
  • Fixed performance loss when the .data pronoun is used in aes() (#5730).
  • Facet evaluation is better at dealing with inherited errors (@teunbrand, [#5670]).
  • stat_bin() deals with non-finite breaks better (@teunbrand, [#5665]).
  • While axes in coord_radial() don't neatly fit the top/right/bottom/left organisation, specifying position = "top" or position = "right" in the scale will flip the placement of the radial axis (#5735)
  • Theme elements that do not exist now throw warnings instead of errors (#5719).
  • Fixed bug in coord_radial() where full circles were not treated as such (@teunbrand, [#5750]).
  • When legends detect the presence of values in a layer, NA is now detected if the data contains values outside the given breaks (@teunbrand, [#5749]).
  • annotate() now warns about stat or position arguments (@teunbrand, [#5151])
  • guide_coloursteps(even.steps = FALSE) now works with discrete data that has been formatted by cut() (@teunbrand, [#3877]).
Source: README.md, updated 2024-04-22