Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • PYTHON - Atelier MatPlotLib PYTHON - Atelier MatPlotLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

La forge institutionnelle d'INRAE étant en production depuis le 10 juin 2025, nous vous recommandons d'y créer tous vos nouveaux projets.

  • Poulard Christine
  • PYTHON - Atelier MatPlotLibPYTHON - Atelier MatPlotLib
  • Wiki
  • AtelierB1_Graphiques_simples

AtelierB1_Graphiques_simples · Changes

Page history
Update AtelierB1_Graphiques_simples authored Jul 08, 2021 by Poulard Christine's avatar Poulard Christine
Show whitespace changes
Inline Side-by-side
AtelierB1_Graphiques_simples.md
View page @ 035dd6c4
...@@ -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)
### une figure un peu plus habillée ### une figure un peu plus habillée
......
Clone repository
  • AtelierB1_Graphiques_simples
  • AtelierB2_Lire_un_fichier
  • AtelierC
  • Atelier_D_carte
  • Atelier_D_carte_a_partir_de_fichiers_binaires
  • Atelier_E_longues_series
  • Atelier_G_widgets
  • Atelier_clic_afficher
  • Atelier_clics
  • Cartes focus sur le redimensionnement
  • GUI avec QT
  • La doc avec Sphinx
  • Lexique
  • Point Théorie Subplots
  • Pour les contributeurs
View All Pages