I've been using the underying matplot lib library to make adjustments that ggplot does not allow me to.
p = ggplot(aes(x='meh',y='mah'),data=df)
t = theme_gray()
t._rcParams['font.size'] = 30
t._rcParams['xtick.labelsize'] = 20
t._rcParams['ytick.labelsize'] = 20
p = p + t
This works as expected. I now wish to increase the size of the legend, which I am creating via adding the color
argument:
p = ggplot(aes(x='meh',y'mah',color='week'),data=df)
From here, I can see the following argument for editing the legend:
t._rcParams['legend.fontsize'] = 20
Despite there being no errors, this does not doing anything to the legend text size.