From b949d7ac8e4a7ce66d19e86f420f1299009a52b2 Mon Sep 17 00:00:00 2001 From: Humphrey Yang Date: Thu, 15 Feb 2024 14:34:22 +1100 Subject: [PATCH 1/2] update variable name for industrial output --- lectures/business_cycle.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lectures/business_cycle.md b/lectures/business_cycle.md index 6cfaaa2b..2f3c6e36 100644 --- a/lectures/business_cycle.md +++ b/lectures/business_cycle.md @@ -716,13 +716,13 @@ end_date = datetime.datetime(2022, 12, 31) nber = web.DataReader('USREC', 'fred', start_date, end_date) -consumer_confidence = web.DataReader('INDPRO', 'fred', +industrial_output = web.DataReader('INDPRO', 'fred', start_date, end_date).pct_change(12)*100 fig, ax = plt.subplots() -ax.plot(consumer_confidence, **g_params, +ax.plot(industrial_output, **g_params, color='#377eb8', linestyle='-', - linewidth=2, label='Consumer price index') + linewidth=2, label='Industrial production index') ax.fill_between(nber.index, 0, 1, where=nber['USREC']==1, color='grey', edgecolor='none', From 87efb92504539b919004af80a0a7612c38e1fe84 Mon Sep 17 00:00:00 2001 From: mmcky Date: Thu, 15 Feb 2024 14:55:24 +1100 Subject: [PATCH 2/2] remove jupytext markup --- lectures/business_cycle.md | 1 - 1 file changed, 1 deletion(-) diff --git a/lectures/business_cycle.md b/lectures/business_cycle.md index 2f3c6e36..5e7174bb 100644 --- a/lectures/business_cycle.md +++ b/lectures/business_cycle.md @@ -11,7 +11,6 @@ kernelspec: name: python3 --- - # Business Cycles ## Overview