import matplotlib.pyplot as plt

years = [1950,1955, 1960, 1965, 1970, 1975, 1980, 1985, 1990, 1995, 2000, 2005, 2010, 2015]

pops = [2.5, 2.7, 3.0, 3.3, 3.6, 4.0, 4.4, 4.8, 5.3, 5.7, 6.1, 6.5, 6.9, 7.3]

deaths = [1.5, 1.1, 1.0, 0.3, 0.6, 0.5, 0.5, 1, 1.7, 2, 2.3, 2.7, 3, 3.1]
'''
plt.plot(years, pops, "--", color=(255/255, 100/255, 100/255))
plt.plot(years, deaths, color=(0.6, 0.6, 1))
plt.ylabel("Population in billions")
plt.xlabel("Population growth by year")
plt.title("Population Growth")
'''
lines = plt.plot(years, pops, years, deaths)
plt.grid(True)

plt.setp(lines, color=(1, 0.4, 0.4), marker="o")

plt.show()