From 4f81605606571dcae13aa65ac4220c0cd0a986fc Mon Sep 17 00:00:00 2001 From: Dan Howe Date: Fri, 13 May 2022 05:56:00 +0200 Subject: [PATCH] Add plot switch --- slr/generate_slr_timeseries.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slr/generate_slr_timeseries.py b/slr/generate_slr_timeseries.py index f3943b3..31584f9 100644 --- a/slr/generate_slr_timeseries.py +++ b/slr/generate_slr_timeseries.py @@ -5,6 +5,7 @@ import pandas as pd from scipy import stats import matplotlib.pyplot as plt +PLOT = False START_YEAR = 2020 END_YEAR = 2100 @@ -53,7 +54,7 @@ slr = np.random.permutation(slr.T).T slr[0, :] = df.loc[2020, 'loc'] # Plot first few trajectories -if True: +if PLOT: fig, ax = plt.subplots(1, 3, figsize=(12, 5),