Skip to content

Commit c2afe22

Browse files
committed
remove figsize
1 parent f98e01d commit c2afe22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lectures/cagan_ree.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ Now we use the following function to plot the result
336336
337337
```{code-cell} ipython3
338338
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)
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],
518518
T_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
523523
ax[0].plot(T_seq[:-1], μ_seq_2)
524524
ax[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
579579
ax[0].plot(T_seq[:-1], μ_seq_2)
580580
ax[0].set_ylabel(r'$\mu$')

0 commit comments

Comments
 (0)