divelab / DIG

A library for graph deep learning research
https://diveintographs.readthedocs.io/
GNU General Public License v3.0
1.84k stars 281 forks source link

PGExplainer graph visualization #118

Closed alirezadizaji closed 2 years ago

alirezadizaji commented 2 years ago

there is a problem in pgexplainer graph visualization as in plot_bashapes, 'node_idx' and 'y' must be filled within kwargs, though during visualization for graph explanation there is no passing of them

Oceanusity commented 2 years ago

Thank you for your issue. Since ba_shapes is a node classification dataset, please specify the explain_graph=False. In the visualization for node classification, the parameter y can be obtained from the data.