Basthon Matplotlib ne fonctionne pas/plus sous firefox
Tout d'abord merci beaucoup pour votre travail et pour ce logiciel. Il m'est très précieux en tant qu'enseignant.
Malheureusement sous Firefox, il est impossible de charger Matplotlib
import matplotlib.pyplot as plt
/lib/python3.8/site-packages/numpy/ma/core.py:4467: SyntaxWarning: "is" with a lite
ral. Did you mean "=="?
if self.shape is ():
Error: Traceback (most recent call last):
File "/lib/python3.8/site-packages/basthon/packages.py", line 157, in callback
_patch_modules.patch(packages)
File "/lib/python3.8/site-packages/basthon/_patch_modules.py", line 348, in patch
patch_func()
File "/lib/python3.8/site-packages/basthon/_patch_modules.py", line 15, in patch_m
atplotlib
from matplotlib.backends.wasm_backend import FigureCanvasWasm as wasm_backend
File "/lib/python3.8/site-packages/matplotlib/backends/wasm_backend.py", line 19,
in <module>
from matplotlib.backends import backend_agg
File "/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 49, i
n <module>
from matplotlib.backends._backend_agg import RendererAgg as _RendererAgg
ImportError: Could not load dynamic lib: /lib/python3.8/site-packages/matplotlib/bac
kends/_backend_agg.so
out of memory
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/lib/python3.8/site-packages/matplotlib/pyplot.py", line 37, in <module>
import matplotlib.image
File "/lib/python3.8/site-packages/matplotlib/image.py", line 22, in <module>
import matplotlib._image as _image
ImportError: Could not load dynamic lib: /lib/python3.8/site-packages/matplotlib/_im
age.so
out of memory
Sous Chrome par contre il y a un avertissement
/lib/python3.8/site-packages/numpy/ma/core.py:4467: SyntaxWarning: "is" with a literal. Did you mean "=="? if self.shape is ():