Learn practical skills, build real-world projects, and advance your career
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
 ya=[0.5,0.6,0.9,1,1.5,1.8,2,2.3,2.1]
plt.plot(ya)
[<matplotlib.lines.Line2D at 0x7f67eecb2c40>]
Notebook Image
plt.plot(ya);
Notebook Image
years=[2000,2001,2002,2003,2004,2005,2006,2007,2008]
plt.plot(years,ya);
Notebook Image