Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vasole committed Nov 29, 2023
1 parent 27f351e commit 32cbdcf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions PyMca5/PyMcaGui/pymca/PyMcaMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32cbdcf

Please sign in to comment.