Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
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 invitons à y créer vos nouveaux projets.

  • Poulard Christine
  • PYTHON - Atelier MatPlotLibPYTHON - Atelier MatPlotLib
  • Wiki
  • version 3.6

version 3.6 · Changes

Page history
Update version 3.6 authored 2 years ago by Poulard Christine's avatar Poulard Christine
Show whitespace changes
Inline Side-by-side
Showing
with 0 additions and 0 deletions
+0 -0
version-3.6.md 0 → 100644
View page @ d59fbc2e
**ANNONCE** : **la version 3.6 de matplotlib** est sortie en septembre 2022 ;
la version courante est actuellement **3.6.1** (Octobre 2022)
### notes sur la version 3.6
:older_man: [Pour en savoir plus : la doc]
https://matplotlib.org/stable/users/prev_whats_new/whats_new_3.6.0.html
**Plotting methods**
- Striped lines (experimental)
The new `gapcolor` parameter to plot enables the creation of striped lines.
**Legends**
- Legend can control alignment of title and handles
- `ncol` keyword argument to legend renamed to `ncols`
**`height_ratios`** and **`width_ratios`**
subplots, subplot_mosaic accept height_ratios and width_ratios arguments
The relative width and height of columns and rows in subplots and subplot_mosaic can be controlled by passing height_ratios and width_ratios keyword arguments to the methods:
```python
fig = plt.figure()
axs = fig.subplots(3, 1, sharex=True, height_ratios=[3, 1, 1])
```
en remplacement d'une utilisation via kwargs:
```python
fig = plt.figure()
axs = fig.subplots(3, 1, sharex=True,
gridspec_kw=dict(height_ratios=[3, 1, 1]))
```
### notes sur la version 3.5
La **version 3.5.0** est sortie en novembre 2021 !
:older_man: toujours le bon réflexe : [Pour en savoir plus : la doc](https://matplotlib.org/3.5.0/users/prev_whats_new/whats_new_3.5.0.html)
Ce qui devrait être testé ici (et reporté le cas échéant dans les pages thématiques):
Figure and Axes creation / management
- subplot_mosaic supports simple Axes sharing : _comment définir rapidement une disposition de vignettes : voir ajout dans le_ [point Subplots](Point Théorie: Subplots)
- Figure now has draw_without_rendering method
Interactive tool improvements
- Colorbars now have pan and zoom functionality
- Updated the appearance of Slider widgets
- Directional sizing cursors
\ No newline at end of file
Clone repository
Accueil ("Home")

Python, astuces et outils
  • Gestion des versions de Python des paquets (en construction) pip, venv, poetry
  • Python_modules_du_developpeur
    • La doc avec Sphinx

Matplotlib, ateliers et points théoriques

Présentation des ateliers, avec galerie

  • le problème des versions
  • notes sur la version 3.5
  • bien exploiter la doc : les infos des méthodes
  • Atelier A Bases en Python utiles pour comprendre mpl
  • Atelier B graphiques simples
    • suite, lire un fichier
    • focus méthode scatter
    • focus méthodes step et bar
  • Atelier C : les objets d'une figure graphiques avec plusieurs unités
    • Point Théorie Subplots
  • Atelier D : cartes, heatmaps et leurs légendes
    • suite, les fichiers binaires extraire une matrice avec np.fromfile
    • focus : redimensionnement d'une carte "zoom"
  • Atelier E : cas des longues chroniques
  • Atelier G : interactivité widgets, toolbar et événements
    • focus : les événements "MouseEvent"
    • focus : afficher/cacher une courbe ; la mettre à jour
  • définir un style, obtenir des étiquettes de dates correctes focus plt.rcParams
  • Atelier H : tracé efficace sur données tabulaires : seaborn (pandas et mpl à venir) focus seaborn
Interfaces graphiques (GUI)
  • Un outil complet avec gestion des signaux et internationalisation: QT

  • Lexique
  • Tutographie

  • Pour les contributeurs
  • Sidebar

Menu

Explore Projects Groups Topics Snippets