Skip to content
Snippets Groups Projects
Commit 48401568 authored by Peterson, Peter's avatar Peterson, Peter
Browse files

Import all backend widgets from matplotlib

parent 926597b0
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,8 @@ from gui_helper import set_matplotlib_backend
backend = set_matplotlib_backend() # must be at the top of this file
if backend == 'Qt4Agg':
from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg
from matplotlib.backends.backend_qt4agg import *
elif backend == 'Qt5Agg':
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg
from matplotlib.backends.backend_qt5agg import *
else:
raise RuntimeError('Unrecognized backend {}'.format(backend))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment