Commit 54c8f4d7 authored by Ossi Laine's avatar Ossi Laine
Browse files

Use different backend for matplotlib to evade problems importing tkinter

parent d2274f14
......@@ -30,6 +30,10 @@ import argparse
import numpy as np
import scipy.ndimage as ndimage
import matplotlib
matplotlib.use('agg')
import matplotlib.pyplot as plt
import matplotlib.image as mpimg
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
......
Markdown is supported
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