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
2fb97c02
Commit
2fb97c02
authored
Sep 09, 2021
by
Martyn Gigg
Committed by
Peterson, Peter
Sep 10, 2021
Browse files
Switch to hard-coded Qt5 matplotlib backend
Mixing Qt4/Qt5 could be dangerous in the same process
parent
b4463023
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/MultiPlotting/navigation_toolbar.py
View file @
2fb97c02
...
...
@@ -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