Files
Matplotlib-Style/README.md
2025-05-06 19:31:15 +02:00

1.2 KiB

Python Matplotlib Style

[FR] Utilisation

Le style peut être utilisé avec plt.style.use("CHEMIN/REPERTOIRE/YII"). Ce style est prévu pour générer des figures pouvant être intégrées dans un document LaTeX (police Latin Modern Roman) au format A4 avec :

  • une colonne et des marges de 3 cm de chaque côté (_1)
  • deux colonnes avec un séparation de 1 cm et des marges de 2 cm de chaque côté (_2)
  • beamer au format 3:2 (_beamer)
  • un style plus simple (sans LaTeX) et une police monospace (Latin Modern Mono; _light)

plus d'informations: https://matplotlib.org/stable/users/explain/customizing.html#customizing-with-style-sheets

[EN] Usage

The style can be used with plt.style.use("PATH/DIRECTORY/YII"). This style has been made to generate figures that can be integrated in LaTeX documents, with:

  • one column and 3 cm margins on each side (_1)
  • two columns with a 1 cm separation and 2 cm margins (_2)
  • beamers with a 3:2 format (_beamer)
  • a more simple style (without LaTeX) and a monospace font (Latin Modern Mono; _light)

more informations: https://matplotlib.org/stable/users/explain/customizing.html#customizing-with-style-sheets