Compare commits
No commits in common. "b9fd32310ee105e30214eb0244da602087fbfbe1" and "8de91933c5aeef1d41ac1468a8e9d92a662ab601" have entirely different histories.
b9fd32310e
...
8de91933c5
5 changed files with 2 additions and 26 deletions
|
@ -104,4 +104,4 @@ for t in range(31):
|
||||||
ttr="Itération :{:d}".format(t)
|
ttr="Itération :{:d}".format(t)
|
||||||
ttr+="\nDensité : {:03.1f}%".format(M.sum()*100/M.size)
|
ttr+="\nDensité : {:03.1f}%".format(M.sum()*100/M.size)
|
||||||
title(ttr)
|
title(ttr)
|
||||||
pause(0.99)
|
pause(0.99)
|
|
@ -13,5 +13,4 @@ for x in range(1,1000):
|
||||||
image[x][:]=sin(x*2*pi/100)*ones([1000])
|
image[x][:]=sin(x*2*pi/100)*ones([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)
|
|
|
@ -1,4 +0,0 @@
|
||||||
## MatPlotLib RC
|
|
||||||
backend: gtk3cairo
|
|
||||||
backend_fallback: True
|
|
||||||
savefig.format: pdf
|
|
|
@ -1,12 +0,0 @@
|
||||||
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,10 +20,3 @@ 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