Closed qdread closed 1 year ago
I'm trying to create a reprex that doesn't involve ggalluvial, only ggplot2, so that I can submit a bug report to ggplot2 directly, but I haven't been able to replicate the problem using only ggplot2 functions.
I'm on a Mac, and the ribbons still appeared with R 4.0.4 installed.
I just updated R to 4.1.1 and got the following alert:
R graphics engine version 14 is not supported by this version of RStudio. The Plots tab will be disabled until a newer version of RStudio is installed.
When i run the code again, plots indeed came up in a separate window rather than in the tab, but both plots rendered just fine.
Hm, that's weird. I tried running it outside Rstudio in the RGui and still had the issue where the plot with legend.position='bottom' does not show the ribbons. All this is on Windows 10, R 4.1.1
Any updates on this front @qdread? I'm hoping to prepare v0.12.4 in the next week or two...finally. : \
Hopefully this issue is resolved! Please reopen it if the issue persists.
Hey Cory, I think I came across an issue while testing the new xspline code. I had to update to R 4.1.x to test with the new graphics engine. I noticed that although the package versions of ggalluvial (0.12.3) and ggplot2 (3.3.5) are the same between the two R versions (R 4.0.3 and R 4.1.1) I get different behavior of between the two versions. I noticed this because I cannot recreate the UCB admissions plot from the Shiny vignette.
Oddly enough, when I have the scale expansion set to the way I want it, when you add
theme(legend.position = 'bottom')
to the plot, the alluvia polygons disappear! I have no idea why this is, and it only appears in R 4.1.1 not 4.0.3.Here's the reprex. What the heck is going on??? 😕
Created on 2021-08-19 by the reprex package (v2.0.1)