Skip to content
This repository was archived by the owner on Feb 8, 2025. It is now read-only.

Yael-II/Python-matplotlib-style

Repository files navigation

Python Matplotlib Style

Moved to https://codeberg.org/Yael-II/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)
  • 10 cm * 15 cm (au lieu de A4) avec des marges de 1 cm de chaque côté (_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)
  • 10 cm * 15 cm (instead of A4) with 1 cm margins on each side (_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