You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
geom_beeswarm() is very useful, thanks for making it!
When I use it with a log transform and data including zeros, it fails. With other geoms, this would result in a point sitting on the axis (the behavior I would desire/expect). Can this be modified?
library(ggplot2)
#> Warning: package 'ggplot2' was built under R version 4.2.3
library(ggbeeswarm)
d_plot<-data.frame(A= c(0, 1), B="B")
ggplot(d_plot, aes(x=B, y=A)) +
geom_beeswarm()
Perhaps a solution could be to add an option to beeswarm that allows it to jitter +Inf and -Inf independently from the finite values?
beeswarm(..., allow_infinite = TRUE)
.. and I imagine that ggbeeswarm would use this option by default, and that this would give the behavior (infinite values peeking out from behind the plot borders) that ggplot2 users expect?
geom_beeswarm()
is very useful, thanks for making it!When I use it with a log transform and data including zeros, it fails. With other geoms, this would result in a point sitting on the axis (the behavior I would desire/expect). Can this be modified?
Created on 2023-05-19 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: