RE: Advanced Pie Chart Customization in R - ggplot Tutorial 12

avatar

You are viewing a single comment's thread:

Awesome! the "bg" argument completely new to me, thank you, those borders are very anoying. I personally prefer the legend without margins

(legend.background = element_rect(color = NA, fill = "black")

but that´s just preference. Also, I recomend not to use the same word for arguments and objects in the code, is very confusing for people new to the matter (like me) 😅😅.
Thank you for sharing
$wine



0
0
0.000
3 comments
avatar

That's a good point about not using the same word for arguments and objects. I've confused myself so many times when I'm writing a longer block of code and can't remember what is supposed to be what.

0
0
0.000
avatar

Indeed, and yet it is so common, most sample code I´ve found arround uses repeated words!

0
0
0.000