Skip to content

Commit f94c7e7

Browse files
committed
n_nodes grouping works again
Signed-off-by: Christian Henkel <[email protected]>
1 parent a12413e commit f94c7e7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

roadmaps/benchmark.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,7 +1080,7 @@ def plot():
10801080
]
10811081
for i, (d, mns) in enumerate([
10821082
(data_len_np, map_names_len),
1083-
(data_rel_np, map_names_rel),
1083+
# (data_rel_np, map_names_rel),
10841084
]):
10851085
colors_per_data = [
10861086
plt.cm.get_cmap('hsv')(
@@ -1154,13 +1154,12 @@ def plots_for_paper():
11541154

11551155
interesting_maps = [
11561156
'plain',
1157-
'z',
1157+
'Berlin_1_256', # 'z',
11581158
'b',
11591159
'dense34'
11601160
]
11611161
n_plots = len(interesting_maps)
1162-
a_roadmap = df['roadmap'][0]
1163-
n_n_nodes = len(df[df.roadmap == a_roadmap].n_nodes.unique())
1162+
n_n_nodes = len(df[df.roadmap == 'GSRM'].GSRM_target_n.unique())
11641163
print(f'{n_plots=}, {n_n_nodes=}')
11651164
df = _group_n_nodes(df, n_n_nodes)
11661165
legend_i = 1

0 commit comments

Comments
 (0)