File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import numpy as np
30
30
import pandas as pd
31
31
import networkx as nx
32
32
import matplotlib.pyplot as plt
33
- from matplotlib.patches import Polygon
34
33
```
35
34
36
35
The following figure illustrates a network of linkages among 15 sectors
@@ -44,14 +43,13 @@ import quantecon_book_networks
44
43
import quantecon_book_networks.input_output as qbn_io
45
44
import quantecon_book_networks.plotting as qbn_plt
46
45
import quantecon_book_networks.data as qbn_data
47
- import matplotlib as mpl
48
-
49
- mpl.rcParams.update(mpl.rcParamsDefault)
50
- quantecon_book_networks.config("matplotlib")
51
- ```
52
46
53
- ``` {code-cell} ipython3
54
47
ch2_data = qbn_data.production()
48
+
49
+ quantecon_book_networks.config("matplotlib")
50
+ import matplotlib as mpl
51
+ mpl.rcParams.update(mpl.rcParamsDefault)
52
+ from matplotlib.patches import Polygon
55
53
```
56
54
57
55
``` {code-cell} ipython3
You can’t perform that action at this time.
0 commit comments