From ff690f52eb3a182b38d5a92b7c5b46573c56bdb2 Mon Sep 17 00:00:00 2001 From: Humphrey Yang Date: Wed, 28 Feb 2024 11:38:01 +1100 Subject: [PATCH] Revert "remove figsize" This reverts commit c2afe22d3abaefd7bb225116a3af157a367a1070. --- lectures/cagan_ree.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lectures/cagan_ree.md b/lectures/cagan_ree.md index bed51838..18b4723c 100644 --- a/lectures/cagan_ree.md +++ b/lectures/cagan_ree.md @@ -336,7 +336,7 @@ Now we use the following function to plot the result ```{code-cell} ipython3 def plot_sequences(sequences, labels): - fig, axs = plt.subplots(len(sequences), 1, dpi=200) + fig, axs = plt.subplots(len(sequences), 1, figsize=[5, 12], dpi=200) for ax, seq, label in zip(axs, sequences, labels): ax.plot(range(len(seq)), seq, label=label) ax.set_ylabel(label) @@ -518,7 +518,7 @@ p_seq_2_regime2 = np.concatenate([p_seq_2_path1[:T1+1], T_seq = range(T+2) # plot both regimes -fig, ax = plt.subplots(5, 1, dpi=200) +fig, ax = plt.subplots(5, 1, figsize=[5, 12], dpi=200) ax[0].plot(T_seq[:-1], μ_seq_2) ax[0].set_ylabel(r'$\mu$') @@ -574,7 +574,7 @@ unanticipated, as in experiment 2. ```{code-cell} ipython3 # compare foreseen vs unforeseen shock -fig, ax = plt.subplots(5, dpi=200) +fig, ax = plt.subplots(5, figsize=[5, 12], dpi=200) ax[0].plot(T_seq[:-1], μ_seq_2) ax[0].set_ylabel(r'$\mu$')