Skip to content
Snippets Groups Projects
Commit 3f8dee3c authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Fix plot if only one DU is present

parent 85350b32
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ def main():
n_dus = detector.n_dus
fig, axes = plt.subplots(n_dus, figsize=(16, 4 * n_dus))
axes = [axes] if n_dus == 1 else axes.flatten()
for ax, du in zip(axes, detector.dus):
times = []
rttc = []
......
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