Skip to content

Commit 83d7751

Browse files
committed
update filename to auto-update graph at front of lecture
1 parent 6a17f81 commit 83d7751

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed
Loading

lectures/long_run_growth.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ ax = draw_interp_plots(gdp[cntry].loc[start_year:end_year],
481481
## Constructing a plot similar to Tooze's
482482
In this section we describe how we have constructed a version of the striking figure from chapter 1 of {cite}`Tooze_2014` that we discussed at the start of this lecture.
483483

484-
Let's first define a collection of countries that consist of the British Empire (BEM) so we can replicate that series in Tooze's chart.
484+
Let's first define a collection of countries that consist of the British Empire (BEM) so we can replicate that series in Tooze's chart.
485485

486486
```{code-cell} ipython3
487487
BEM = ['GBR', 'IND', 'AUS', 'NZL', 'CAN', 'ZAF']
@@ -500,7 +500,6 @@ code_to_name
500500

501501
Now let's assemble our series and get ready to plot them.
502502

503-
504503
```{code-cell} ipython3
505504
# Define colour mapping and name for BEM
506505
color_mapping['BEM'] = color_mapping['GBR'] # Set the color to be the same as Great Britain
@@ -518,7 +517,7 @@ start_year, end_year = (1821, 1945)
518517
ax = draw_interp_plots(gdp[cntry].loc[start_year:end_year],
519518
'Real GDP in 2011 $\'s','Year',
520519
color_mapping, code_to_name, 2, False, ax)
521-
plt.savefig("./_static/lecture_specific/long_run_growth/rgdp-2011-y1820to1945-leadingeconomies.png")
520+
plt.savefig("./_static/lecture_specific/long_run_growth/tooze_ch1_graph.png", dpi=100)
522521
plt.show()
523522
```
524523

@@ -549,8 +548,6 @@ ax = draw_interp_plots(gdp[cntry].loc[start_year:end_year],
549548
color_mapping, code_to_name, 2, False, ax)
550549
```
551550

552-
553-
554551
It is tempting to compare this graph with figure {numref}`gdp1` that showed the US overtaking the UK near the start of the "American Century", a version of the graph featured in chapter 1 of {cite}`Tooze_2014`.
555552

556553
## Regional analysis

0 commit comments

Comments
 (0)