We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 299e0da commit 25bd2d0Copy full SHA for 25bd2d0
beams/plots.py
@@ -4,8 +4,14 @@
4
from sys import platform
5
import matplotlib
6
7
+if platform == "linux":
8
+ gui_env = ['TkAgg', 'GTKAgg', 'Qt5Agg', 'WXAgg']
9
+elif platform == "darwin":
10
+ gui_env = ['Qt5Agg', 'TkAgg', 'GTKAgg', 'WXAgg']
11
+else:
12
+ pass
13
+
14
if platform != "win32":
- gui_env = ['Qt5Agg', 'TkAgg']
15
for gui in gui_env:
16
try:
17
matplotlib.use(gui, warn=False, force=True)
0 commit comments