GitHub

Original file line numberDiff line numberDiff line change

@@ -328,7 +328,7 @@ np.random.seed(s) # Seeds get set the same for both economies

328328

out = complete_ss(β, b0, x0, A, C, S_y, 80)

329329

c_hist_com, b_hist_com, y_hist_com, x_hist_com = out

330330
331-

fig, ax = plt.subplots(1, 2, figsize=(15, 5))

331+

fig, ax = plt.subplots(1, 2, figsize=(14, 4))

332332
333333

# Consumption plots

334334

ax[0].set_title('Consumption and income')

@@ -918,7 +918,7 @@ c_bar, debt_complete = consumption_complete(cp)

918918
919919

c_path, debt_path, y_path = consumption_incomplete(cp, s_path)

920920
921-

fig, ax = plt.subplots(1, 2, figsize=(15, 5))

921+

fig, ax = plt.subplots(1, 2, figsize=(14, 4))

922922
923923

ax[0].set_title('Consumption paths')

924924

ax[0].plot(np.arange(N_simul), c_path, label='incomplete market')

Read the original on github.com ↗