Skip to content
Snippets Groups Projects
Commit 8e7c0ae4 authored by Christoph Groth's avatar Christoph Groth
Browse files

make tutorial image generation run without DISPLAY set

parent d23664ac
Branches
Tags
No related merge requests found
################################################################
# Make matplotlib work without X11
################################################################
import matplotlib
matplotlib.use('Agg')
################################################################
# Prepend Kwant's build directory to sys.path
################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment