Introductie tot datavisualisatie met Matplotlib
Ariel Rokem
Data Scientist
ax.plot(seattle_weather["MONTH"],
seattle_weather["MLY-PRCP-NORMAL"])
plt.show()

ax.plot(seattle_weather["MONTH"],
seattle_weather["MLY-PRCP-NORMAL"],
marker="o")
plt.show()

ax.plot(seattle_weather["MONTH"],
seattle_weather["MLY-PRCP-NORMAL"],
marker="v")
plt.show()

fig, ax = plt.subplots()
ax.plot(seattle_weather["MONTH"],
seattle_weather["MLY-TAVG-NORMAL"],
marker="v", linestyle="--")
plt.show()


fig, ax = plt.subplots()
ax.plot(seattle_weather["MONTH"],
seattle_weather["MLY-TAVG-NORMAL"],
marker="v", linestyle="None")
plt.show()

fig, ax = plt.subplots()
ax.plot(seattle_weather["MONTH"],
seattle_weather["MLY-TAVG-NORMAL"],
marker="v", linestyle="--", color="r")
plt.show()

ax.set_xlabel("Tijd (maanden)")
plt.show()

ax.set_xlabel("Tijd (maanden)")
ax.set_ylabel("Gemiddelde temperatuur (graden Fahrenheit)")
plt.show()

ax.set_title("Weer in Seattle")
plt.show()

Introductie tot datavisualisatie met Matplotlib