import pandas as pd
import seaborn as sns
df = pd.read_csv("https://jbencook.s3.amazonaws.com/data/dummy-sales-large.csv")
# Plot the histogram
sns.histplot(df, x="revenue")
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)
x = np.random.normal(size=100)
sns.distplot(x);
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
sns.distplot(xgb_errors, kde=True, rug=True);
plt.axvline(np.median(xgb_errors),color='b', linestyle='--')
df.plot.hist(subplots=True, legend=True, layout=(1, 3))