Skip to content

Instantly share code, notes, and snippets.

@tengpeng
Created January 31, 2016 22:46
Show Gist options
  • Save tengpeng/965f866ee05d2cab58f1 to your computer and use it in GitHub Desktop.
Save tengpeng/965f866ee05d2cab58f1 to your computer and use it in GitHub Desktop.
hist python
import seaborn as sns
sns.set_style("white", {'ytick.major.size': 10.0})
sns.set_context("poster", font_scale=1.1)
income = df_train.MonthlyIncome.dropna()
income = income[income < 20000]
sns.distplot(income, color='#FD5C64')
#df[(df.T != 0).any()]
plt.xlabel('Income')
sns.despine()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment