Introductie

  • Matplotlib is een bibliotheek om grafieken te maken in Python
  • Matplotlib is niet standaard meegeleverd met Python
    • Om te importeren gebruik je import matplotlib.pyplot as plt

Voorbeeldcode:

import matplotlib.pyplot as plt

y_values = [3,5,8,10,12,15,18,20] plt.plot(y_values) plt.show()