From 70d25c3f724eb9b4661900ae14c57444fb2e7a51 Mon Sep 17 00:00:00 2001 From: Lukas Winkler Date: Wed, 11 Jan 2023 12:22:07 +0100 Subject: [PATCH] fix ylabels --- halo_plot.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/halo_plot.py b/halo_plot.py index e7227e1..ab6461d 100644 --- a/halo_plot.py +++ b/halo_plot.py @@ -116,16 +116,13 @@ def main(): alpha=0.2, ) ax.add_artist(circle) - print(found_main_halo) - # assert found_main_halo + + assert found_main_halo print(img) # break # break - if is_box: - ylabels = waveforms - else: - ylabels = [item for item in waveforms for _ in range(2)] + ylabels = waveforms rowcolumn_labels(axes, ylabels, isrow=True) rowcolumn_labels(axes, resolutions, isrow=False)