Commit 2fb97c02 authored by Martyn Gigg's avatar Martyn Gigg Committed by Peterson, Peter
Browse files

Switch to hard-coded Qt5 matplotlib backend

Mixing Qt4/Qt5 could be dangerous in the same process
parent b4463023
......@@ -5,7 +5,7 @@
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
from qtpy import QtGui
from matplotlib.backends.backend_qt4agg import NavigationToolbar2QT as NavigationToolbar
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT as NavigationToolbar
class myToolbar(NavigationToolbar):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment