summaryrefslogtreecommitdiff
path: root/figures/gen_fig4_combined.py
diff options
context:
space:
mode:
Diffstat (limited to 'figures/gen_fig4_combined.py')
-rw-r--r--figures/gen_fig4_combined.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/figures/gen_fig4_combined.py b/figures/gen_fig4_combined.py
index 5b8d464..1cdee10 100644
--- a/figures/gen_fig4_combined.py
+++ b/figures/gen_fig4_combined.py
@@ -3,7 +3,7 @@
Each panel: 9 curves = 3 datasets × 3 methods.
color = dataset (Cora / CiteSeer / PubMed)
- linestyle = method (BP dashed, DFA-GNN dotted, GRAFT solid)
+ linestyle = method (BP dashed, DFA-GNN dotted, KAFT solid)
Matches DFA-GNN Figure 4 layout.
"""
@@ -15,18 +15,18 @@ from matplotlib.colors import to_rgba
from matplotlib.lines import Line2D
DATASETS = ['Cora', 'CiteSeer', 'PubMed']
-METHODS = ['BP', 'DFA-GNN', 'GRAFT'] # data-lookup keys (unchanged)
-DISPLAY_NAME = {'BP': 'BP', 'DFA-GNN': 'DFA-GNN', 'GRAFT': 'KAFT'}
+METHODS = ['BP', 'DFA-GNN', 'KAFT'] # data-lookup keys (unchanged)
+DISPLAY_NAME = {'BP': 'BP', 'DFA-GNN': 'DFA-GNN', 'KAFT': 'KAFT'}
DEPTHS = [4, 6, 8, 10, 12, 14, 16, 18, 20]
RATES = [0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8]
ATTACKS = ['add', 'remove', 'flip']
-# Method colors — consistent with other GRAFT figures
+# Method colors — consistent with other KAFT figures
METHOD_COLORS = {
'BP': '#888888', # gray
'DFA-GNN': '#3B7AC2', # complementary blue
- 'GRAFT': '#C23B3B', # brick red (ours)
+ 'KAFT': '#C23B3B', # brick red (ours)
}
# Dataset linestyles
DS_STYLE = {
@@ -48,7 +48,7 @@ DEPTH_SOURCES = [
'results/combo_20seeds/per_seed_data.json',
'results/hero_extras_20seeds/per_seed_data.json',
'results/shallow_depth_20seeds/per_seed_data.json',
- 'results/bp_graft_depth_20seeds/per_seed_data.json',
+ 'results/bp_kaft_depth_20seeds/per_seed_data.json',
'results/dfagnn_depth_20seeds/per_seed_data.json',
'results/dfagnn_resgcn_20seeds/per_seed_data.json',
'results/depth_extras_20seeds/per_seed_data.json', # L=14, 18