Commit 46037ef0 authored by Jan Kiene's avatar Jan Kiene
Browse files

fix warning about too many open figures when not displaying

parent 8a8d1880
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -92,6 +92,7 @@ def create_histograms(
                image_file = f"histogram_{measure}_{fmt}.png"
                image_path = output_folder.joinpath(image_file)
                plt.savefig(image_path)
                plt.close(fig)

    if display_only:
        plt.show()