TNO Intern

Commit 09540cb2 authored by Zanne Korevaar's avatar Zanne Korevaar
Browse files

Move initiation of secondary axis for the timeplot of qloop to after condition.

parent 147d3004
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -281,11 +281,12 @@ class PlotResults:

                ax.legend(loc=(-0.07, -0.35))

            for idx, df in enumerate(results_dfs):
                if "qloop" in plot_parameters and "qloop" in df.columns:

                    ax_twin = ax.twinx()
                    ax_twin.set_ylabel("Pump Power [W]")

            for idx, df in enumerate(results_dfs):
                if "qloop" in plot_parameters and "qloop" in df.columns:
                    color = next(color_iter)

                    # Plot the line