-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: draw_networkx_nodes() got an unexpected keyword argument 'with_labels' #242
Comments
I also have this problem |
The |
- dig/xgraph/method/base_explainer.py : if NetworkX version > 2.4, kwargs keys are filtered according to the available parameters of nx.draw_networkx_nodes and draw_networkx_labels. - dig/version.py : version updated accordingly
- dig/xgraph/method/base_explainer.py : be sure to take care of default values set in kwargs.
Hi, You can install the last release + bug fix from the sources of my fork until the pull request is approved and the 1.1.1 release is provided to pypi, following the instructions (inspired from the DIG installation from source procedure ) Locally, in a virtual env (recommanded) :
In Google Colab :
Let me know if you have any new issue. Regards. |
- dig/xgraph/method/base_explainer.py : if NetworkX version > 2.4, kwargs keys are filtered according to the available parameters of nx.draw_networkx_nodes and draw_networkx_labels. - dig/version.py : version updated accordingly
In addition, if you are using the Locally, in a virtual env (recommanded) :
In Google Colab :
|
I am trying to recreate the GNNExplainer on Google Colab using the example
xgraph_code_tutorial.ipynb
. Everything works great until I try to visualize the graph. Thank you for your helpThe text was updated successfully, but these errors were encountered: