@@ -336,7 +336,7 @@ Now we use the following function to plot the result
336336
337337```{code-cell} ipython3
338338def plot_sequences(sequences, labels):
339- fig, axs = plt.subplots(len(sequences), 1, figsize=[5, 12], dpi=200)
339+ fig, axs = plt.subplots(len(sequences), 1, dpi=200)
340340 for ax, seq, label in zip(axs, sequences, labels):
341341 ax.plot(range(len(seq)), seq, label=label)
342342 ax.set_ylabel(label)
@@ -518,7 +518,7 @@ p_seq_2_regime2 = np.concatenate([p_seq_2_path1[:T1+1],
518518T_seq = range(T+2)
519519
520520# plot both regimes
521- fig, ax = plt.subplots(5, 1, figsize=[5, 12], dpi=200)
521+ fig, ax = plt.subplots(5, 1, dpi=200)
522522
523523ax[0].plot(T_seq[:-1], μ_seq_2)
524524ax[0].set_ylabel(r'$\mu$')
@@ -574,7 +574,7 @@ unanticipated, as in experiment 2.
574574
575575```{code-cell} ipython3
576576# compare foreseen vs unforeseen shock
577- fig, ax = plt.subplots(5, figsize=[5, 12], dpi=200)
577+ fig, ax = plt.subplots(5, dpi=200)
578578
579579ax[0].plot(T_seq[:-1], μ_seq_2)
580580ax[0].set_ylabel(r'$\mu$')
0 commit comments