La forge gitlab.irstea.fr sera définitivement arrêtée le 30 juin 2026. Nous vous invitons à migrer vos projets vers la forge INRAE. Vous trouverez plus de détails sur le blog de la forge INRAE.
@@ -14,7 +14,7 @@ from matplotlib import pyplot as plt # instruction "canonique" !
...
@@ -14,7 +14,7 @@ from matplotlib import pyplot as plt # instruction "canonique" !
plt.plot ([1,2,5,10,50],[11,31,53,208,502])# appel à fonction, arguments = une liste, une liste
plt.plot ([1,2,5,10,50],[11,31,53,208,502])# appel à fonction, arguments = une liste, une liste
plt.show()# à part dans JupyterLab, vous avez besoin de cette ligne pour afficher le graphique
plt.show()# à part dans JupyterLab, vous avez besoin de cette ligne pour afficher le graphique
```
```
[le graphique obtenu avec ces trois lignes de code](https://gitlab.irstea.fr/christine.poulard/atelier-matplotlib/-/blob/master/illustrations/Fig1_graphique_basique.png)
[le graphique obtenu avec ces trois lignes de code](illustrations/Fig1_graphique_basique.png)