Releases: eclarke/ggbeeswarm
v0.7.2: CRAN bugfix release
This version fixes a number of bugs and some regressions introduced in v0.7.1. It is available on CRAN.
As always, a huge thanks to everybody who took the time to file these issues.
What's New
- In
position_quasirandom
, a neworientation
argument allows you to manually specify which axis is the 'grouped' or categorical axis. Passingorientation="x"
is equivalent to the now-superseded argumentgroupOnX=TRUE
. The parameter also accepts a value of"y"
orNULL
; the latter causesposition_quasirandom
to guess which axis is grouped (see below). This addition brings back the ability to change the orientation of the swarms without having to usecoord_flip()
(#82). position_quasirandom
more intelligently guesses which axis is the grouped axis by default, and outputs a message to the user when the guess results in the axes being 'flipped', in case the guess is incorrect.position_beeswarm
now warns the user once per session when using methods that discretize the data axis, and thus may shift the points unexpectedly (specifically, methodscenter
,hex
andsquare
) (#77).
Bugfixes
- Fixed an issue in
position_quasirandom
where the user needed to specify e.g.aes(group = 1)
ordodge.width=NULL
(#83, #80) - Fixed an issue in
position_quasirandom
where NAs in non-data axis aesthetics (e.g., shape) made the points disappear (#84) - Fixed an issue in
position_beeswarm
where an error would occur if all the values of y were the same (#85) - Fixed an issue in
position_quasirandom
where certain aesthetics would result in one group per observation (e.g., usingaes(text=...)
forggplotly
) and thus prevent any position adjustment (#78)
v0.7.1: CRAN release
This release incorporates all the incredible work done by @csdaw to refactor the
various geom and position functions, fix outstanding issues, and remove
dependencies on deprecated ggplot2 functions like qplot
.
It is also available on CRAN: https://cran.r-project.org/web/packages/ggbeeswarm/index.html
New features:
- Can now use new features from the
beeswarm
package, including compact
swarms and 'corralling' points in overlapping groups. - Updated examples and documentation.
Changes:
- The
groupOnX
argument is deprecated.ggplot2
now has logic to determine
when a plot is 'flipped' automatically so this argument is no longer
necessary. - The
beeswarmArgs
argument is deprecated as its arguments are now called in
geom_beeswarm
directly. position_beeswarm
is once again an exported function.- Examples and documentation no longer use
ggplot2::qplot
as it has been
hard-deprecated inggplot2
- The license has been clarified to be GPL-3, not GPL >= 2.
- Minimum R and
ggplot2
versions have changed to 3.5.0 and 3.3.0,
respectively.
Bugfixes:
Too many to summarize here.
Acknowledgements:
A huge thank you to @csdaw, @sherrillmix, and everybody who reported and replied to issues and submitted pull requests in the last few years!
Bugfixes
CRAN release
This fixes a few bugs, namely #31 and #30, and is on CRAN.
Bugfix #31: The default behavior of geom_beeswarm
has changed. Before, if the x and y variables have the same number of points, the y-axis was dodged by default. The option to override this (groupOnX=
) was lost in the method chain. Now, the option is restored and the default is instead to group on the x-axis. Also now if groupOnX
is not specified, and this condition was triggered, a warning regarding the changed behavior is thrown.
Bugfix update
Bugfixes and binary compatibility with latest ggplot2 version. This version is on CRAN as of 2016-12-01.
Now on CRAN
The first version of ggbeeswarm on CRAN.
- Automatic dodging (thanks @josesho) if the parameter
dodge.width
is not NULL - Updated documentation and bug fixes.
ggplot2 2.0.0 compatibility
In this release:
- ggplot2 2.0.0 compatibility (thanks @sherrillmix)
- support for coord_flip in ggplot2 (thanks @smsaladi)
- updated dependencies
- bugfixes
Version 0.3.0
This delegates the logic of point spacing to two other packages and focuses on just providing the position objects to ggplot2.