Skip to content

Commit b949d7a

Browse files
committed
update variable name for industrial output
1 parent 2ba4b2d commit b949d7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lectures/business_cycle.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -716,13 +716,13 @@ end_date = datetime.datetime(2022, 12, 31)
716716
717717
nber = web.DataReader('USREC', 'fred',
718718
start_date, end_date)
719-
consumer_confidence = web.DataReader('INDPRO', 'fred',
719+
industrial_output = web.DataReader('INDPRO', 'fred',
720720
start_date, end_date).pct_change(12)*100
721721
722722
fig, ax = plt.subplots()
723-
ax.plot(consumer_confidence, **g_params,
723+
ax.plot(industrial_output, **g_params,
724724
color='#377eb8', linestyle='-',
725-
linewidth=2, label='Consumer price index')
725+
linewidth=2, label='Industrial production index')
726726
ax.fill_between(nber.index, 0, 1,
727727
where=nber['USREC']==1,
728728
color='grey', edgecolor='none',

0 commit comments

Comments
 (0)