I have some data that has widely different scales. I want to create a displot showing all the features on graphic. I though facet_kws={'sharex': False}
was the relevant parameter, but it doesn't appear to be working, what I am doing wrong?
import numpy as np
import pandas as pd
import seaborn as sns
import random
# Sample Dataframe
df = pd.DataFrame(np.random.randint(0,200,size=(200, 3)), columns=list('ABC'))
D= np.random.randint(0,10,size=(200, 1))
df['D']= D
# reshape dataframe
df2 = df.stack().reset_index(level=1).reset_index(drop=True).\
rename(columns={'level_1': 'Name', 0: 'Value'})
# plot
g = sns.displot(data=df2,
x='Value', col='Name',
col_wrap=3, kde=True,
facet_kws={'sharex': False})