-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
Milestone
Description
import seaborn as sns
sns.set_context("paper")
sns.set_style("white")
data = (sns.load_dataset('iris').set_index('species')*1e7).reset_index()
g = sns.relplot(data=data, x='sepal_length', y='sepal_width', col='species',
col_wrap=2, height=2.5)
g.set_titles(row_template="{row_name}", col_template="SOMEWHATLONG-{col_name}")
for axes in g.axes.flat:
axes.ticklabel_format(axis='both', style='scientific', scilimits=(0, 0))
import seaborn as sns
sns.set_context("paper")
sns.set_style("white")
data = (sns.load_dataset('iris').set_index('species')*1e7).reset_index()
g = sns.relplot(data=data, x='sepal_length', y='sepal_width', col='species',
col_wrap=2, height=2.5, facet_kws=dict(sharex=False, sharey=False))
g.set_titles(row_template="{row_name}", col_template="SOMEWHATLONG-{col_name}")
for axes in g.axes.flat:
axes.ticklabel_format(axis='both', style='scientific', scilimits=(0, 0))