-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the letter 'a' from the legend #106
Comments
fixed now, thanks |
I know this issue has been closed but I am still having issues with this: df <- scatter_plot_data ggscatter(df, x = "Copies_per_uL", y = "RPKM", |
Same problem here. I have tried the latest release version and the latest github version. p1 <- ggscatter(all_amish_rmAffected, x = "PAI_1", y = "DNAmGrimAge_clean", |
I confirm that the issue still persists as of 2022:
|
try: |
Please, consider specifying the option suppressPackageStartupMessages(library(ggpubr))
df <- mtcars
df$name <- rownames(df)
df$cyl <- as.factor(df$cyl)
ggscatter(df, x = "wt", y = "mpg",
color = "cyl", palette = c("#00AFBB", "#E7B800", "#FC4E07"),
label = "name", repel = TRUE, show.legend.text = FALSE) +
stat_cor(aes(color = cyl), method = "spearman", label.x = 4, show.legend = FALSE) |
@WellJoea, your suggestion does not change a thing. Have you tried it? What is even the purpose of limiting a list size? A hack instead of a real solution? @kassambra, your suggestion works kind of. It forbids displaying a legend. This is not a solution. i want a legend. Without these irrelevant a's. Can you make it work without any hacks? Like, real programmers, do they consider all the possible options if a new thing is about to be developed. i am so depressed because of poor software. It is regulated in society that poor houses are not allowed. Unfortunately, poor software is. It does not matter that you did it for free. we all do. i do not want even to imagine producing a poor piece of software. What i publish is fully tested. i expect the same from you. From everyone. Quality matters. |
Hey, I know that there's a bunch of questions at stackoverflow but however I still cannot find a solution.
How can I can remove the letter 'a' from the legend generated by
ggscatter
? Here is a slightly modified example fromggpubr
vignette. I've just added parameters to remove text element from a legend:show.legend.text = F
and it's not working!The text was updated successfully, but these errors were encountered: