-
Notifications
You must be signed in to change notification settings - Fork 266
New 0.9.5 igraph doesn't work with drawing module #415
Copy link
Copy link
Closed
Milestone
Description
The NetworkX examples page threw an error upon release of igraph 0.9.5 with the following report.
It looks like the new feature mark_groups=True listed in the igraph Changelog for this release breaks
drawing.py line 1114.
On that line, kwds["mark_groups"] is assumed to return a dict, but now can return a bool.
Extension error:
Here is a summary of the problems encountered when running the examples
Unexpected failing examples:
/home/circleci/repo/examples/external/plot_igraph.py failed leaving traceback:
Traceback (most recent call last):
File "/home/circleci/repo/examples/external/plot_igraph.py", line 39, in <module>
ig.plot(h, layout=layout, target=ax1)
File "/home/circleci/repo/venv/lib/python3.8/site-packages/igraph/drawing/__init__.py", line 480, in plot
result.draw(obj, *args, **kwds)
File "/home/circleci/repo/venv/lib/python3.8/site-packages/igraph/drawing/graph.py", line 1114, in draw
for idx, color in kwds["mark_groups"].items():
AttributeError: 'bool' object has no attribute 'items'
Reactions are currently unavailable