jrnold / ggthemes

Additional themes, scales, and geoms for ggplot2
http://jrnold.github.io/ggthemes/
1.32k stars 227 forks source link

Problems with theme_economist #132

Closed valentinaandrade closed 8 months ago

valentinaandrade commented 3 years ago

Hi! 👋🏼 I can't reproduce the example put to use theme_economist.

dsamp <- diamonds[sample(nrow(diamonds), 1000), ] qplot(carat, price, data=dsamp, colour=clarity) + theme_economist(stata=TRUE) + scale_colour_economist(stata=TRUE)

The error is Error in theme_economist(stata = TRUE) : unused argument (stata = TRUE)

bbolker commented 3 years ago

According to the NEWS file this argument was removed in ggthemes version 4.0.0 (I have no idea why). If you really need this option you could install an older version of the package ...