diff --git a/PyMca5/PyMcaGui/pymca/PyMcaMain.py b/PyMca5/PyMcaGui/pymca/PyMcaMain.py index 12e385bec..71549d40c 100644 --- a/PyMca5/PyMcaGui/pymca/PyMcaMain.py +++ b/PyMca5/PyMcaGui/pymca/PyMcaMain.py @@ -127,11 +127,7 @@ from PyMca5.PyMcaGui import PyMcaQt as qt from PyMca5.PyMcaGui.io import PyMcaFileDialogs QTVERSION = qt.qVersion() -if sys.platform == 'darwin': - if backend is not None: - if backend.lower() in ["gl", "opengl"]: - if hasattr(qt, 'QOpenGLWidget'): - print("Warning: OpenGL backend not fully supported") + try: import silx # try to import silx prior to importing matplotlib to prevent