No-gui backend error fixed
This commit is contained in:
parent
f6c18af3ab
commit
b9fd32310e
4 changed files with 19 additions and 2 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,4 +13,5 @@ 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)
|
||||||
|
|
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
|
Loading…
Reference in a new issue