Skip to content
Snippets Groups Projects
Commit 0102e3b3 authored by many's avatar many Committed by Malte Nyhuis
Browse files

define matplotlib backend (new matplotlib version requires this)

parent 60f2f356
No related branches found
No related tags found
1 merge request!62Cleanup 0.2.0
import tempfile
from dataclasses import dataclass, field
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
......@@ -40,6 +40,7 @@ class ProbeContainer:
tmpdir = tempfile.mkdtemp()
path = tmpdir + "/plot.png"
plotprobelist = self.filter_probes(groupname, positions)
matplotlib.use('Agg')
plt.figure(figsize=(32, 24), dpi=200)
for probe in plotprobelist:
if probe.values[value][0].shape == (1,):
......
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