TNO Intern

Commit f4f258fc authored by Zanne Korevaar's avatar Zanne Korevaar
Browse files

Add underscores in names of timeplots and sensitivity plots .

parent 3b3daa58
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -440,7 +440,7 @@ class PlotResults:

            file_name = out_path.with_name(
                out_path.name
                + "timeplot_"
                + "_timeplot_"
                + "_".join(sorted(set(plotted_params)))
                + ".png"
            )
@@ -984,7 +984,7 @@ class PlotResults:
                bbox_to_anchor=(0, -0.1), loc="upper left"
            )  # Adjust legend position if needed

            save_path = outpath.with_name(outpath.name + f"Sensitivity_{y_variable}")
            save_path = outpath.with_name(outpath.name + f"_sensitivity_{y_variable}")
            plt.savefig(save_path, bbox_inches="tight")
            plt.close()
        else: