I am trying to change both style and font size like this
sns.set_style("whitegrid")
sns.set(font_scale=1.5)
But it seems that both are mutually exclusive. I can use only one of the lines at a time. How to make both changes apparent?
Put them both in the same seaborn.set
command:
sns.set(style="whitegrid", font_scale=1.5)
As per the docs, seaborn.set
is an alias for seaborn.set_theme
seaborn.set_theme(style="whitegrid", font_scale=1.5)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With