Answers for "sns.distplot"

2

plot histogram in seaborn

sns.distplot(gapminder['lifeExp'], kde=False, color='red', bins=100)
plt.title('Life Expectancy', fontsize=18)
plt.xlabel('Life Exp (years)', fontsize=16)
plt.ylabel('Frequency', fontsize=16)
Posted by: Guest on May-30-2020
2

plot distribution seaborn

x = np.random.normal(size=100)
sns.distplot(x);
Posted by: Guest on February-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language