From 7ed1646be3a8bdc282c71f840d36d0de7c975db9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=84=A2=E6=8C=AF=E5=AE=87Michael=20Yan?= <1015198808@qq.com> Date: Mon, 27 Feb 2023 23:52:55 +0800 Subject: [PATCH] Fix wrong arguments. --- docs/source/tutorials/subgraphx.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/source/tutorials/subgraphx.rst b/docs/source/tutorials/subgraphx.rst index b009d4b8..983188ff 100644 --- a/docs/source/tutorials/subgraphx.rst +++ b/docs/source/tutorials/subgraphx.rst @@ -131,8 +131,7 @@ After MCTS searching and Shapley value computation, the subgraph with the highes result = find_closest_node_result(explanation_results[prediction], max_nodes=max_nodes) plotutils = PlotUtils(dataset_name='ba_shapes') - explainer.visualization(explanation_results, - prediction, + explainer.visualization(explanation_results[prediction], max_nodes=max_nodes, plot_utils=plotutils, y=data.y)