Commit 84a55551 authored by Manuel Günther's avatar Manuel Günther
Browse files

Use switch_backend instead, see...

Use switch_backend instead, see
parent 1027aa2f
Pipeline #12048 passed with stages
in 10 minutes and 51 seconds
......@@ -11,7 +11,7 @@ from __future__ import print_function
# matplotlib stuff
import matplotlib
from matplotlib import pyplot
pyplot.ioff() # turn off interactive mode -- no figure window will be shown
pyplot.switch_backend('agg') # switch to non-X backend
Please register or sign in to reply
from matplotlib.backends.backend_pdf import PdfPages
# import bob.measure after matplotlib, so that it cannot define the backend
Supports Markdown
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