Introductie tot Data Science in Python
Hillary Green-Lerman
Lead Data Scientist, Looker
from matplotlib import pyplot as plt
plt.plot(ransom.letter,
ransom.frequency)
plt.show()

plt.xlabel("Letter")
plt.ylabel("Frequentie")
plt.title("Losgeldbrief Letters")
Labels overal voor plt.show()

plt.plot(aditya.days,
aditya.cases,
label="Aditya")
plt.plot(deshaun.days,
deshaun.cases,
label="Deshaun")
plt.plot(mengfei.days,
mengfei.cases,
label="Mengfei")
plt.legend()

plt.text(xcoord,
ycoord,
"Tekstbericht")
plt.text(5,
9,
"Ongebruikelijk lage H-frequentie!")

plt.title("Grafiektitel", fontsize=20)
plt.legend(color="green")
Introductie tot Data Science in Python