python - howto get fit parameters from seaborn distplot fit=? -


i'm using seaborn distplot (data, fit=stats.gamma)

how fit parameters returned?

here example:

import numpy np import pandas pd import seaborn sns scipy import stats df = pd.read_csv ('requestsize.csv') import matplotlib.pyplot plt reqs = df['12 web pages'] reqs = reqs.dropna() reqs = reqs[np.logical_and (reqs > np.percentile (reqs, 0), reqs < np.percentile (reqs, 95))] dist = sns.distplot (reqs, fit=stats.gamma) 

use object passed distplot:

stats.gamma.fit(reqs) 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -