Learn practical skills, build real-world projects, and advance your career
import numpy as np 
import matplotlib as mpl
import matplotlib.pyplot as plt
from cycler import cycler
import seaborn as sns
years=range(2000,2006)
apples=[0.4,0.8,0.9,0.7,0.6,0.8]
oranges=[0.35,0.6,0.9,0.8,0.65,0.8]
plt.bar(years,apples)
plt.bar(years,oranges,bottom=apples)
<BarContainer object of 6 artists>
Notebook Image
tips_df=sns.load_dataset('tips');
tips_df