Skip to content

Commit 2539c89

Browse files
AI-Prantopshriwise
authored andcommitted
remove is_pyqt5()
1 parent 2b28ec1 commit 2539c89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

openmc_plotter/plotgui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from .scientific_spin_box import ScientificDoubleSpinBox
2020
from .custom_widgets import HorizontalLine
2121

22-
if is_pyqt5():
22+
if QtCore.qVersion():
2323
from matplotlib.backends.backend_qt5agg import FigureCanvas
2424
else:
2525
from matplotlib.backends.backend_qt5agg import FigureCanvas

0 commit comments

Comments
 (0)