diff --git a/documents/tuto_emacs_windows/tuto_emacs_windows.md b/documents/tuto_emacs_windows/tuto_emacs_windows.md index ae95c6ac8a0ade2cf5c26c0467c40318e601ce8a..8b816bed67e1399f80830341524cc5984b7b0965 100644 --- a/documents/tuto_emacs_windows/tuto_emacs_windows.md +++ b/documents/tuto_emacs_windows/tuto_emacs_windows.md @@ -70,7 +70,24 @@ matplotlib.matplotlib_fname() ![matplotlib](documents/tuto_emacs_windows/images/matplotlib.png) -Ouvrir le fichier `matplotlibrc` et corriger la ligne `backend: TkAgg` en +Ouvrir le fichier `matplotlibrc` et corriger la ligne + +``` +backend: TkAgg +``` + +en + +``` +backend: Agg +``` + +N.B. : Cette option empêche l'affichage des graphiques dans Python : + +![matplotlib2](documents/tuto_emacs_windows/images/matplotlib2.png) + +Si vous devez passer d'un logiciel à l'autre, je suggère d'avoir deux fichiers +`matplotlibrc`, un avec la ligne `backend: TkAgg` et un autre avec la ligne `backend: Agg`. ---