mirror of
https://codeberg.org/Yael-II/Matplotlib-Style.git
synced 2026-03-14 21:36:28 +01:00
2025-05-06: Updated to match the MANCHOT beamer style
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
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 :
|
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`)
|
- 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`)
|
- 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`)
|
- beamer au format 3:2 (`_beamer`)
|
||||||
- un style plus simple (sans LaTeX) et une police monospace (Latin Modern Mono; `_light`)
|
- 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
|
plus d'informations: https://matplotlib.org/stable/users/explain/customizing.html#customizing-with-style-sheets
|
||||||
@@ -12,7 +12,7 @@ plus d'informations: https://matplotlib.org/stable/users/explain/customizing.htm
|
|||||||
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:
|
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`)
|
- one column and `3 cm` margins on each side (`_1`)
|
||||||
- two columns with a `1 cm` separation and `2 cm` margins (`_2`)
|
- 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`)
|
- beamers with a 3:2 format (`_beamer`)
|
||||||
- a more simple style (without LaTeX) and a monospace font (Latin Modern Mono; `_light`)
|
- 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
|
more informations: https://matplotlib.org/stable/users/explain/customizing.html#customizing-with-style-sheets
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ legend.frameon: True
|
|||||||
legend.fontsize: 9.0
|
legend.fontsize: 9.0
|
||||||
|
|
||||||
### Figure size
|
### Figure size
|
||||||
figure.figsize: 4.3, 2.3
|
figure.figsize: 4.5, 2.05
|
||||||
figure.subplot.left: 0.1
|
figure.subplot.left: 0.1
|
||||||
figure.subplot.bottom: 0.175
|
figure.subplot.bottom: 0.175
|
||||||
figure.subplot.top: 0.90
|
figure.subplot.top: 0.90
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ legend.frameon: True
|
|||||||
legend.fontsize: 9.0
|
legend.fontsize: 9.0
|
||||||
|
|
||||||
### Figure size
|
### Figure size
|
||||||
figure.figsize: 2.1, 2.3
|
figure.figsize: 2.25, 2.05
|
||||||
figure.subplot.left: 0.1
|
figure.subplot.left: 0.1
|
||||||
figure.subplot.bottom: 0.175
|
figure.subplot.bottom: 0.175
|
||||||
figure.subplot.top: 0.90
|
figure.subplot.top: 0.90
|
||||||
|
|||||||
Reference in New Issue
Block a user