Skip to content

Commit a41cbf3

Browse files
committed
minor updates on code
1 parent 77e3421 commit a41cbf3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lectures/long_run_growth.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def draw_interp_plots(series, # pandas series
225225
ax # matplolib axis
226226
):
227227
228-
for i, c in enumerate(country):
228+
for c in country:
229229
# Get the interpolated data
230230
df_interpolated = series[c].interpolate(limit_area='inside')
231231
interpolated_data = df_interpolated[series[c].isnull()]
@@ -604,7 +604,8 @@ mystnb:
604604
---
605605
fig, ax = plt.subplots(dpi=300)
606606
ax = regionalgdp_pc.plot(ax=ax, xlabel='year',
607-
ylabel='international dollars')
607+
lw=2,
608+
ylabel='international dollars')
608609
ax.set_yscale('log')
609610
plt.legend(loc='lower center',
610611
ncol=3, bbox_to_anchor=[0.5, -0.5])

0 commit comments

Comments
 (0)