Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mantidproject
mantid
Commits
f3e9af72
Commit
f3e9af72
authored
Sep 09, 2021
by
Martyn Gigg
Browse files
Switch to hard-coded Qt5 matplotlib backend
Mixing Qt4/Qt5 could be dangerous in the same process
parent
b1e86cd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/MultiPlotting/navigation_toolbar.py
View file @
f3e9af72
...
...
@@ -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_qt
4
agg
import
NavigationToolbar2QT
as
NavigationToolbar
from
matplotlib.backends.backend_qt
5
agg
import
NavigationToolbar2QT
as
NavigationToolbar
class
myToolbar
(
NavigationToolbar
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment