File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 10
10
import os .path
11
11
import sys
12
12
13
- import numpy as np
14
-
15
- # matplotlib.rcParams['backend'] = "QT4AGG"
16
- # Do this first before any other matplotlib imports, to force matplotlib to
17
- # use a Qt backend
18
- from matplotlib .backends .qt_compat import QtCore , QtGui , QtWidgets
19
-
20
- try :
21
- from matplotlib .backends .backend_qtagg import FigureCanvasQTAgg as FigureCanvas
22
- except ImportError :
23
- try :
24
- from matplotlib .backends .backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
25
- except ImportError :
26
- from matplotlib .backends .backend_qt4agg import FigureCanvasQTAgg as FigureCanvas
27
-
28
13
import matplotlib
29
14
import matplotlib .colors
30
15
import matplotlib .pyplot as plt
31
16
import mpl_toolkits .mplot3d
17
+ import numpy as np
32
18
from colorspacious import (
33
19
CIECAM02Space ,
34
20
CIECAM02Surround ,
35
21
cspace_convert ,
36
22
cspace_converter ,
37
23
)
24
+ from matplotlib .backends .backend_qtagg import FigureCanvasQTAgg as FigureCanvas
25
+
26
+ # matplotlib.rcParams['backend'] = "QtAgg"
27
+ # Do this first before any other matplotlib imports, to force matplotlib to
28
+ # use a Qt backend
29
+ from matplotlib .backends .qt_compat import QtCore , QtGui , QtWidgets
38
30
from matplotlib .colors import ListedColormap
39
31
from matplotlib .gridspec import GridSpec
40
32
41
- from .minimvc import Trigger
33
+ from viscm .minimvc import Trigger
42
34
43
35
Qt = QtCore .Qt
44
36
You can’t perform that action at this time.
0 commit comments