@@ -336,7 +336,7 @@ Now we use the following function to plot the result
336
336
337
337
```{code-cell} ipython3
338
338
def 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)
340
340
for ax, seq, label in zip(axs, sequences, labels):
341
341
ax.plot(range(len(seq)), seq, label=label)
342
342
ax.set_ylabel(label)
@@ -518,7 +518,7 @@ p_seq_2_regime2 = np.concatenate([p_seq_2_path1[:T1+1],
518
518
T_seq = range(T+2)
519
519
520
520
# plot both regimes
521
- fig, ax = plt.subplots(5, 1, figsize=[5, 12], dpi=200)
521
+ fig, ax = plt.subplots(5, 1, dpi=200)
522
522
523
523
ax[0].plot(T_seq[:-1], μ_seq_2)
524
524
ax[0].set_ylabel(r'$\mu$')
@@ -574,7 +574,7 @@ unanticipated, as in experiment 2.
574
574
575
575
```{code-cell} ipython3
576
576
# compare foreseen vs unforeseen shock
577
- fig, ax = plt.subplots(5, figsize=[5, 12], dpi=200)
577
+ fig, ax = plt.subplots(5, dpi=200)
578
578
579
579
ax[0].plot(T_seq[:-1], μ_seq_2)
580
580
ax[0].set_ylabel(r'$\mu$')
0 commit comments