From 4441dfc21abd3fa3e9513ebd88de27846478ccb3 Mon Sep 17 00:00:00 2001 From: Meyers-Im Date: Thu, 21 Mar 2024 10:47:46 -0700 Subject: [PATCH] scale jumps per year plot to log scale on y axis --- solardatatools/algorithms/time_shifts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/solardatatools/algorithms/time_shifts.py b/solardatatools/algorithms/time_shifts.py index 6b68e8ce..3236d789 100644 --- a/solardatatools/algorithms/time_shifts.py +++ b/solardatatools/algorithms/time_shifts.py @@ -276,6 +276,7 @@ def plot_optimization(self, figsize=None): ax[0].axvline(best_w1, ls="--", color="red") ax[0].set_title("holdout validation") ax[1].plot(w1s, self.jumps_per_year, marker=".") + ax[1].set_yscale("log") ax[1].axvline(best_w1, ls="--", color="red") ax[1].set_title("jumps per year") ax[2].plot(w1s, rn, marker=".")