I am creating a facet plot with the seaborn library with:
titanic = sns.load_dataset('titanic')
g = sns.relplot(data=titanic, x='fare', y='age', col='sex', row='survived', height=2, facet_kws=dict(sharex=False, sharey=False))
g.set_titles(row_template='{row_name}', col_template='{col_name}')
plt.ticklabel_format(axis='both', style='scientific', scilimits=(0, 0))
I would like ALL subplots to have scientific notation.
Using Seaborn version 0.11.2
CodePudding user response: