fivethirtyeight / data

Data and code behind the articles and graphics at FiveThirtyEight
https://data.fivethirtyeight.com/
Creative Commons Attribution 4.0 International
16.78k stars 10.95k forks source link

Add ylab to ggplot with fivethirtyeight ggtheme #299

Closed Montana closed 1 year ago

Montana commented 2 years ago

For example, could I theoretically add:

theme(axis.title = element_text()) + ylab('Something')

To my graph, but then I'll still get an x axis label. I'm thinking an alternative would be to use:

theme(axis.title = element_text(), axis.title.x = element_blank()) + ylab('Something')

Any help is appreciated.

jayb commented 1 year ago

i believe that is answered here.