const-ae / const-ae/ggupset

doesn't supporting the github version of ggplot2

Open
#33 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
R
Stars
399
Forks
32
PR merge metrics
No merged PRs in 30d

Description

Hello
Thanks for the great package. the ggplot2 is a very popular package. `ggupset` seem to be developed based on it. But now `ggplot2`
has some significant [changes](https://github.com/tidyverse/ggplot2/blob/main/NEWS.md#ggplot2-development-version). and the `ggupset` is compatible with it.

```
> library(ggplot2)
> library(ggupset)
> packageVersion('ggplot2')
[1] ‘3.3.6.9000’
> packageVersion('ggupset')
[1] ‘0.3.0’
> example(scale_x_upset)

scl_x_> library(ggplot2)

scl_x_> ggplot(tidy_movies[1:100, ], aes(x=Genres)) +
scl_x_ geom_bar() +
scl_x_ scale_x_upset(reverse = TRUE, sets=c("Drama", "Action"))
Hit to see next plot:
Error: Discrete value supplied to continuous scale
> example(theme_combmatrix)

thm_cm> library(ggplot2)

thm_cm> # Ensure that the y-axis label is next to the axis by setting
thm_cm> # combmatrix.label.make_space to FALSE
thm_cm> ggplot(tidy_movies[1:100, ], aes(x=Genres)) +
thm_cm geom_bar() +
thm_cm scale_x_upset() +
thm_cm theme_combmatrix(combmatrix.label.text = element_text(color = "black", size=15),
thm_cm combmatrix.label.make_space = FALSE,
thm_cm plot.margin = unit(c(1.5, 1.5, 1.5, 65), "pt"))
Hit to see next plot:
Error: Discrete value supplied to continuous scale
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.