cran / ggVennDiagram

:exclamation: This is a read-only mirror of the CRAN R package repository. ggVennDiagram — A 'ggplot2' Implement of Venn Diagram. Homepage: https://github.com/gaospecial/ggVennDiagram, https://gaospecial.github.io/ggVennDiagram/
1 stars 0 forks source link

Can not change the color of edges #2

Open AnnaKaisanLahti opened 2 years ago

AnnaKaisanLahti commented 2 years ago

Hi,

I can not change the color of the edges in ggVennDiagram:

ggVennDiagram(x_bac, color = "black", category.names = c("AM", "FE"), label_alpha = 0) + scale_fill_gradient(low = "pink1", high = "pink4")

This works otherwise fine, but none of the commands to modify the edges have any effect(color, lty, lwd), and I get red border for AM set and light blue for FE set, no matter the settings.

I also tried the other way and this produces red edges to both sets, no matter the options:

venn <- Venn(x_bac) data <- process_data(venn) ggplot() + geom_sf(aes(fill = count), data = venn_region(data)) + geom_sf(aes(color="black"), data = venn_setedge(data), show.legend = FALSE) + geom_sf_text(aes(label = name), data = venn_setlabel(data)) + geom_sf_label(aes(label = count), data = venn_region(data)) + theme_void()

What am I doing wrong here?

Capture1 Capture2

gaborcsardi commented 2 years ago

Hi, this is a read only mirror of CRAN, please see the package authors in the DESCRIPTION file. Look for Maintainer, BugReports and URL. Thanks!