diff --git a/code/modules/filehandling.py b/code/modules/filehandling.py index 334aefa..c3c71f2 100644 --- a/code/modules/filehandling.py +++ b/code/modules/filehandling.py @@ -3,6 +3,7 @@ import os import yaml import numpy as np from thunderfish.dataloader import DataLoader +import matplotlib.pyplot as plt class ConfLoader: diff --git a/code/plot_chirp_bodylegth.py b/code/plot_chirp_bodylegth.py index 0cf1783..fd34ebf 100644 --- a/code/plot_chirp_bodylegth.py +++ b/code/plot_chirp_bodylegth.py @@ -86,7 +86,7 @@ def main(datapath: str): ps.set_boxplot_color(bplot2, colors1) ax.set_ylabel('Chirpscounts [n]') - plt.show() + plt.savefig('../poster/figs/chirps_winner_loser.pdf') if __name__ == '__main__': diff --git a/poster/figs/chirps_winner_loser.pdf b/poster/figs/chirps_winner_loser.pdf new file mode 100644 index 0000000..9171818 Binary files /dev/null and b/poster/figs/chirps_winner_loser.pdf differ