Skip to content

Commit b5b58bd

Browse files
committed
distinguish the names of the two plotting functions
1 parent d7fd2d7 commit b5b58bd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lectures/cagan_ree.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,7 @@ plot_configs = [
545545
'ylabel': r'$p$'}
546546
]
547547
548-
def generate_plots(plot_configs, ax):
549-
548+
def experiment_plot(plot_configs, ax):
550549
# Loop through each subplot configuration
551550
for axi, config in zip(ax, plot_configs):
552551
for data in config['data']:
@@ -560,7 +559,7 @@ def generate_plots(plot_configs, ax):
560559
plt.tight_layout()
561560
plt.show()
562561
563-
generate_plots(plot_configs, ax)
562+
experiment_plot(plot_configs, ax)
564563
```
565564
566565
We invite you to compare these graphs with corresponding ones for the foreseen stabilization analyzed in experiment 1 above.
@@ -604,7 +603,7 @@ plot_configs = [
604603
(T_seq, p_seq_1, 'Foreseen')], 'ylabel': r'$p$'}
605604
]
606605
607-
generate_plots(plot_configs, ax)
606+
experiment_plot(plot_configs, ax)
608607
```
609608
610609
It is instructive to compare the preceding graphs with graphs of log price levels and inflation rates for data from four big inflations described in

0 commit comments

Comments
 (0)