Movatterモバイル変換


[0]ホーム

URL:


ggplot2 4.0.1

This is a smaller patch release focussed on fixing regressions from4.0.0 and polishing the recent features.

Bug fixes

Improvements

ggplot2 4.0.0

User facing

Breaking changes

Lifecycle changes

Improvements

Themes

Scales

Coords

Layers

Other

Bug fixes

Developer facing

Utilities

Internal changes

ggplot2 3.5.2

This is a small release focusing on providing infrastructure forother packages to gracefully prepare for changes in the next majorrelease.

Improvements

ggplot2 3.5.1

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

Bug fixes

Improvements

ggplot2 3.5.0

This is a minor release that turned out quite beefy. It is focused onoverhauling the guide system: the system responsible for displayinginformation from scales in the guise of axes and legends. As part ofthat overhaul, new guides have been implemented and existing guides havebeen refined. The look and feel of guides has been mostly preserved, buttheir internals and styling options have changed drastically.

Briefly summarising other highlights, we also welcomecoord_radial() as a successor ofcoord_polar(). Initial support for newer graphicalfeatures, such as pattern fills has been added. The API has changed howI()/<AsIs> vectors interact with thescale system, namely: not at all.

Breaking changes

New features

The guide system

The guide system encompassing axes and legends, as the last remainingchunk of ggplot2, has been rewritten to use the<ggproto> system instead of the S3 system. Thischange was a necessary step to officially break open the guide systemfor extension package developers. The axes and legends now inherit froma<Guide> class, which makes them extensible in thesame manner as geoms, stats, facets and coords (#3329,@teunbrand)

Axes

Legends

Improvements

Bug fixes

Internal changes

ggplot2 3.4.4

This hotfix release adapts to a change in r-devel’sbase::is.atomic() and the upcoming retirement ofmaptools.

ggplot2 3.4.3

This hotfix release addresses a version comparison change in r-devel.There are no user-facing or breaking changes.

ggplot2 3.4.2

This is a hotfix release anticipating changes in r-devel, but foldsin upkeep changes and a few bug fixes as well.

Minor improvements

Bug fixes

ggplot2 3.4.1

This is a small release focusing on fixing regressions in the 3.4.0release and minor polishes.

Breaking changes

New features

Bug fixes

In binned scales:

ggplot2 3.4.0

This is a minor release focusing on tightening up the internals andironing out some inconsistencies in the API. The biggest change is theaddition of thelinewidth aesthetic that takes of sizingthe width of any line fromsize. This change, whileattempting to be as non-breaking as possible, has the potential tochange the look of some of your plots.

Other notable changes is a complete redo of the error and warningmessaging in ggplot2 using the cli package. Messaging is now bettercontextualised and it should be easier to identify which layer an erroris coming from. Last, we have now made the switch to using the vctrspackage internally which means that support for vctrs classes asvariables should improve, along with some small gains in renderingspeed.

Breaking changes

New features

Minor improvements and bugfixes

ggplot2 3.3.6

This is a very small release only applying an internal change tocomply with R 4.2 and its deprecation ofdefault.stringsAsFactors(). There are no user facingchanges and no breaking changes.

ggplot2 3.3.5

This is a very small release focusing on fixing a couple of untenableissues that surfaced with the 3.3.4 release

ggplot2 3.3.4

This is a larger patch release fixing a huge number of bugs andintroduces a small selection of feature refinements.

Features

Fixes

ggplot2 3.3.3

This is a small patch release mainly intended to address changes in Rand CRAN. It further changes the licensing model of ggplot2 to an MITlicense.

ggplot2 3.3.2

This is a small release focusing on fixing regressions introduced in3.3.1.

ggplot2 3.3.1

This is a small release with no code change. It removes all maliciouslinks to a site that got hijacked from the readme and pkgdown site.

ggplot2 3.3.0

This is a minor release but does contain a range of substantial newfeatures, along with the standard bug fixes. The release contains a fewvisual breaking changes, along with breaking changes for extensiondevelopers due to a shift in internal representation of the positionscales and their axes. No user breaking changes are included.

This release also adds Dewey Dunnington (@paleolimbot) to the core team.

Breaking changes

There are no user-facing breaking changes, but a change in someinternal representations that extension developers may have relied on,along with a few breaking visual changes which may cause visual tests indownstream packages to fail.

New features

Extensions

Minor improvements and bugfixes

ggplot2 3.2.1

This is a patch release fixing a few regressions introduced in 3.2.0as well as fixing some unit tests that broke due to upstreamchanges.

ggplot2 3.2.0

This is a minor release with an emphasis on internal changes to makeggplot2 faster and more consistent. The few interface changes will onlyaffect the aesthetics of the plot in minor ways, and will onlypotentially break code of extension developers if they have relied oninternals that have been changed. This release also sees the addition ofHiroaki Yutani (@yutannihilation) to the coredeveloper team.

With the release of R 3.6, ggplot2 now requires the R version to beat least 3.2, as the tidyverse is committed to support 5 major versionsof R.

Breaking changes

New features

Extensions

Minor improvements and bugfixes

ggplot2 3.1.0

Breaking changes

This is a minor release and breaking changes have been kept to aminimum. End users of ggplot2 are unlikely to encounter any issues.However, there are a few items that developers of ggplot2 extensionsshould be aware of. For additional details, see also the discussionaccompanying issue #2890.

New features

Minor improvements and fixes

ggplot2 3.0.0

Breaking changes

Tidy evaluation

sf

New features

Layers: geoms,stats, and position adjustments

Scales and guides

Margins

Extension points

Minor bug fixes andimprovements

Faceting

Scales

Layers

Coords

Themes

Guides

Other

ggplot2 2.2.1

ggplot2 2.2.0

Major new features

Subtitle and caption

Thanks to@hrbrmstr plots now have subtitles andcaptions, which can be set with thesubtitle andcaption arguments toggtitle() andlabs(). You can control their appearance with the themesettingsplot.caption andplot.subtitle. Themain plot title is now left-aligned to better work better with asubtitle. The caption is right-aligned (@hrbrmstr).

Stacking

position_stack() andposition_fill() nowsort the stacking order to match grouping order. This allows you tocontrol the order through grouping, and ensures that the default legendmatches the plot (#1552, #1593). If you want the opposite order (usefulif you have horizontal bars and horizontal legend), you can requestreverse stacking by usingposition = position_stack(reverse = TRUE) (#1837).

position_stack() andposition_fill() nowaccepts negative values which will create stacks extending below thex-axis (#1691).

position_stack() andposition_fill() gain avjust argument which makes it easy to (e.g.) display labelsin the middle of stacked bars (#1821).

Layers

geom_col() was added to complementgeom_bar() (@hrbrmstr). It usesstat="identity" by default, making theyaesthetic mandatory. It does not support any otherstat_()and does not provide fallback support for thebinwidthparameter. Examples and references in other functions were updated todemonstrategeom_col() usage.

When creating a layer, ggplot2 will warn if you use an unknownaesthetic or an unknown parameter. Compared to the previous version,this is stricter for aesthetics (previously there was no message), andless strict for parameters (previously this threw an error) (#1585).

Facetting

The facet system, as well as the internal panel class, has beenrewritten in ggproto. Facets are now extendable in the same manner asgeoms and stats, as described invignette("extending-ggplot2").

We have also added the following new features.

Extensions

Unfortunately there was a major oversight in the construction ofggproto which lead to extensions capturing the super object at packagebuild time, instead of at package run time (#1826). This problem hasbeen fixed, but requires re-installation of all extension packages.

Scales

Continuous scales

Date time

Discrete scales

The treatment of missing values by discrete scales has beenthoroughly overhauled (#1584). The underlying principle is that we cannaturally represent missing values on discrete variables (by treatingjust like another level), so by default we should.

This principle applies to:

And to all scales (both position and non-position.)

Compared to the previous version of ggplot2, there are three mainchanges:

  1. scale_x_discrete() andscale_y_discrete() always show discrete NA, regardless oftheir source

  2. If present,NAs are shown in discretelegends.

  3. All discrete scales gain ana.translate argumentthat allows you to control whetherNAs are translated tosomething that can be visualised, or should be left as missing. Notethat if you don’t translate (i.e.na.translate = FALSE) themissing values will passed on to the layer, which will warning that it’sdropping missing values. To suppress the warnings, you’ll also need toaddna.rm = TRUE to the layer call.

There were also a number of other smaller changes

Themes

There were a number of tweaks to the theme elements that controllegends:

Bug fixes and minorimprovements

ggplot2 2.1.0

New features

Bug fixes

ggplot2 2.0.0

Major changes

Extensibility

There is now an official mechanism for defining Stats, Geoms, andPositions in other packages. Seevignette("extending-ggplot2") for details.

Text

Deprecated features

A number of geoms have been renamed to be internally consistent:

All defunct functions have been removed.

Default appearance

New and updated themes

Labelling

The facet labelling system was updated with many new features and amore flexible interface (@lionel-). It now works consistently acrossgrid and wrap facets. The most important user visible changes are:

The labellers (such aslabel_value() orlabel_both()) also get some new features:

On the programming side, the labeller API has been rewritten in orderto offer more control when faceting over multiple factors (e.g. withformulae such as~cyl + am). This also means that if youhave written custom labellers, you will need to update them for thisversion of ggplot.

Documentation

Data

Bug fixes and minorimprovements


[8]ページ先頭

©2009-2025 Movatter.jp