Skip to content

Commit

Permalink
minor updates on code
Browse files Browse the repository at this point in the history
  • Loading branch information
HumphreyYang committed Jan 30, 2024
1 parent 77e3421 commit a41cbf3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lectures/long_run_growth.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def draw_interp_plots(series, # pandas series
ax # matplolib axis
):
for i, c in enumerate(country):
for c in country:
# Get the interpolated data
df_interpolated = series[c].interpolate(limit_area='inside')
interpolated_data = df_interpolated[series[c].isnull()]
Expand Down Expand Up @@ -604,7 +604,8 @@ mystnb:
---
fig, ax = plt.subplots(dpi=300)
ax = regionalgdp_pc.plot(ax=ax, xlabel='year',
ylabel='international dollars')
lw=2,
ylabel='international dollars')
ax.set_yscale('log')
plt.legend(loc='lower center',
ncol=3, bbox_to_anchor=[0.5, -0.5])
Expand Down

0 comments on commit a41cbf3

Please sign in to comment.