python:matplotlib

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
python:matplotlib [2023/07/28 16:57] – [Types de graphiques] add how to change fill color of boxplots phswpython:matplotlib [2024/10/06 15:47] (Version actuelle) – [Matplotlib] add link phsw
Ligne 2: Ligne 2:
  
   * [[https://hal.inria.fr/hal-03427242/document|Scientific Visualization: Python + Matplotlib]]   * [[https://hal.inria.fr/hal-03427242/document|Scientific Visualization: Python + Matplotlib]]
 +  * [[https://duetosymmetry.com/code/latex-mpl-fig-tips/|Fonts/sizes in matplotlib figures for LaTeX publications]]
 +  * https://datavizcatalogue.com/FR/
 +
  
  
Ligne 597: Ligne 600:
 </code> </code>
  
 +== Légende correspondante ==
 +
 +[[https://stackoverflow.com/questions/47528955/adding-a-legend-to-a-matplotlib-boxplot-with-multiple-plots-on-same-axes|Source]]
 +
 +<code python>
 +boxplot = ax.boxplot(all_data, patch_artist=True)
 +ax.legend([boxplot["boxes"][0]], ["Label"])
 +</code>
  
  
  • python/matplotlib.1690556253.txt.gz
  • Dernière modification : 2023/07/28 16:57
  • de phsw