Answers for "seaborn histplot python"

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
0

sns histplot

sns.histplot(data, log_scale=True)
Posted by: Guest on September-22-2021

Python Answers by Framework

Browse Popular Code Answers by Language