Skip to content

Commit

Permalink
scale jumps per year plot to log scale on y axis
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeyers committed Mar 21, 2024
1 parent 20f9f35 commit 4441dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions solardatatools/algorithms/time_shifts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=".")
Expand Down

0 comments on commit 4441dfc

Please sign in to comment.