Skip to content

Commit ead9522

Browse files
authored
update from qbn (#216)
1 parent 4a475d2 commit ead9522

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lectures/networks.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ tags: [hide-input]
110110
ch1_data = qbn_data.introduction()
111111
export_figures = False
112112
113-
DG = ch1_data['aircraft_network_2019']
114-
pos = ch1_data['aircraft_network_2019_pos']
113+
DG = ch1_data['aircraft_network']
114+
pos = ch1_data['aircraft_network_pos']
115115
116116
centrality = nx.eigenvector_centrality(DG)
117117
node_total_exports = qbn_io.node_total_exports(DG)
@@ -477,9 +477,9 @@ mystnb:
477477
name: financial_network
478478
tags: [hide-input]
479479
---
480-
Z = ch1_data["adjacency_matrix_2019"]["Z"]
481-
Z_visual= ch1_data["adjacency_matrix_2019"]["Z_visual"]
482-
countries = ch1_data["adjacency_matrix_2019"]["countries"]
480+
Z = ch1_data["adjacency_matrix"]["Z"]
481+
Z_visual= ch1_data["adjacency_matrix"]["Z_visual"]
482+
countries = ch1_data["adjacency_matrix"]["countries"]
483483
484484
G = qbn_io.adjacency_matrix_to_graph(Z_visual, countries, tol=0.03)
485485

0 commit comments

Comments
 (0)