Skip to content

Commit 36d02a8

Browse files
Merge branch 'update-long-run' of https://github.com/QuantEcon/lecture-python-intro into update-long-run
2 parents 998db43 + cae4dc5 commit 36d02a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lectures/long_run_growth.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ plt.show()
185185
We can now put this into a function to generate plots for a list of countries
186186

187187
```{code-cell} ipython3
188-
def draw_interp_plots(series, xlabel, ylabel, color_mapping, code_to_name, lw, logscale, ax):
188+
def draw_interp_plots(series, ylabel, xlabel, color_mapping, code_to_name, lw, logscale, ax):
189189
190190
for i, c in enumerate(cntry):
191191
# Get the interpolated data
@@ -212,8 +212,8 @@ def draw_interp_plots(series, xlabel, ylabel, color_mapping, code_to_name, lw, l
212212
213213
# Draw the legend outside the plot
214214
ax.legend(loc='lower center', ncol=5, bbox_to_anchor=[0.5, -0.25])
215-
ax.set_xlabel(xlabel)
216215
ax.set_ylabel(ylabel)
216+
ax.set_xlabel(xlabel)
217217
218218
return ax
219219
```

0 commit comments

Comments
 (0)