Compare commits
2 commits
8de91933c5
...
b9fd32310e
Author | SHA1 | Date | |
---|---|---|---|
b9fd32310e | |||
f6c18af3ab |
5 changed files with 26 additions and 2 deletions
|
@ -14,3 +14,4 @@ for x in range(1,1000):
|
||||||
plt.figure()
|
plt.figure()
|
||||||
plt.imshow(image,cmap='gray')
|
plt.imshow(image,cmap='gray')
|
||||||
plt.title("Sinusoïde de NdG")
|
plt.title("Sinusoïde de NdG")
|
||||||
|
plt.pause(1.00)
|
||||||
|
|
4
MatPlotLib/matplotlibrc
Normal file
4
MatPlotLib/matplotlibrc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
## MatPlotLib RC
|
||||||
|
backend: gtk3cairo
|
||||||
|
backend_fallback: True
|
||||||
|
savefig.format: pdf
|
12
MatPlotLib/requirements.txt
Normal file
12
MatPlotLib/requirements.txt
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
cycler==0.11.0
|
||||||
|
fonttools==4.34.4
|
||||||
|
kiwisolver==1.4.4
|
||||||
|
matplotlib==3.5.2
|
||||||
|
numpy==1.23.1
|
||||||
|
packaging==21.3
|
||||||
|
Pillow==9.2.0
|
||||||
|
pycairo==1.21.0
|
||||||
|
PyGObject==3.42.2
|
||||||
|
pyparsing==3.0.9
|
||||||
|
python-dateutil==2.8.2
|
||||||
|
six==1.16.0
|
|
@ -20,3 +20,10 @@ Pour quitter l’environement:
|
||||||
#Shell POSIX
|
#Shell POSIX
|
||||||
deactivate
|
deactivate
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Dans le cas de `MatPlotLib/` une installation des paquets DEB `libgirepository1.0-dev`, `gcc`,
|
||||||
|
`libcairo2-dev`, `pkg-config`, `python3-dev` et `gir1.2-gtk-3.0` peut être nécessaire[1].
|
||||||
|
La commande `pip3` vient après.
|
||||||
|
Ainsi *MatPlotLib* peut afficher ses graphes via *GTK+3*.
|
||||||
|
|
||||||
|
[1]: <https://pygobject.readthedocs.io/en/latest/getting_started.html> "PyGObject Doc."
|
||||||
|
|
Loading…
Reference in a new issue