diff options
author | Tim O'Shea <tim.oshea753@gmail.com> | 2013-04-23 15:36:11 -0400 |
---|---|---|
committer | Tim O'Shea <tim.oshea753@gmail.com> | 2013-04-23 15:36:11 -0400 |
commit | 1436b6c7dc9659850d17e097e72edeaeaf2f70b6 (patch) | |
tree | 9eb8e6354d1495cd92256a27fdd186b11fe2fb6b /gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx | |
parent | 416f64d8ea20cc5711766db5e5effe5e24447350 (diff) |
runtime: gr-perf-monitorx, make very sure we are using the right matplotlib backend before causing any problems by defaulting to a different one
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx')
-rwxr-xr-x | gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx b/gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx index c4664ff233..54d617b683 100755 --- a/gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx +++ b/gnuradio-runtime/python/gnuradio/ctrlport/gr-perf-monitorx @@ -22,8 +22,9 @@ import random,math,operator import networkx as nx; +import matplotlib +matplotlib.use("Qt4Agg"); import matplotlib.pyplot as plt - from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg as NavigationToolbar from matplotlib.figure import Figure |