Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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)
Source by cmdlinetips.com #
 
PREVIOUS NEXT
Tagged: #plot #histogram #seaborn
ADD COMMENT
Topic
Name
6+1 =