For geom_bloc -> area plots. (density plots seem fine). Leftover from issue PR #88
For example, the following code should work, but the second one throws Error: Discrete value supplied to continuous scale
ggplot(mtcars) + geom_bloc(aes(width = c(P(cyl)), fill = cyl)) # this doesn't color the blocks
ggplot(mtcars) + geom_bloc(aes(width = c(P(cyl)), fill = (cyl))) # this throws an error
This already works
ggplot(mtcars) + geom_bloc(aes(width = c(P(cyl)), fill = factor(cyl)))
For geom_bloc -> area plots. (density plots seem fine). Leftover from issue PR #88
For example, the following code should work, but the second one throws
Error: Discrete value supplied to continuous scaleThis already works