jolars / eulerr

Area-Proportional Euler and Venn Diagrams with Ellipses
https://jolars.github.io/eulerr/
GNU General Public License v3.0
129 stars 18 forks source link

Cannot "unbold" labels #94

Closed bersbersbers closed 2 years ago

bersbersbers commented 2 years ago

I don't seem to be able to print a label non-bold - is this intended, or am I too stupid too find it in the docs? :)

jolars commented 2 years ago

You can provide a list to the labels argument with various parameters. I think they are listed in a table in the documentation. The one you want is "font"

library(eulerr)

fit <- euler(c(A = 1))

plot(fit, labels = list(font = "normal"))
#> Warning in validGP(list(...)): NAs introduced by coercion

Created on 2022-03-12 by the reprex package (v2.0.1)

bersbersbers commented 2 years ago

You are right, thanks! I had been looking for fontstyle, fontface, fontweight, ... but haven't tried the obvious. Sorry for the noise!