# :(
# Sniff....
thematic::thematic_on("black","lightgray",accent="white")
#> This version of thematic is designed to work with rmarkdown version 2.6.6 or higher. Consider upgrading via remotes::install_github('rstudio/rmarkdown')
ggplot(as.data.frame(Titanic),
aes(y = Freq,
axis1 = Class, axis2 = Sex, axis3 = Age,
fill = Survived)) +
geom_alluvium() +
scale_x_discrete(limits = c("Class", "Sex", "Age"))
#> Error in col2rgb(color, alpha = TRUE): numerical color values must be positive
The problem
using thematic_on() breaks a ggalluvial plot.
Also posted there. Probably there is a way to only post it once and refference, but I dont know how.
Created on 2021-02-25 by the reprex package (v1.0.0)
Session Info