Skip to content

Commit

Permalink
Merge branch 'draw_edges' of github.com:ComplexGroupInteractions/xgi …
Browse files Browse the repository at this point in the history
…into draw_edges
  • Loading branch information
maximelucas committed Oct 16, 2023
2 parents f6201dc + 172ea73 commit 4e51373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xgi/drawing/draw_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _parse_color_arg(colors, cmap, ids, id_kind="edges"):

if id_kind == "edges" and isinstance(colors, NodeStat):
raise TypeError("The color argument for edges cannot be a NodeStat")
elif id_kind == "nodes" and isinstance(colors, Edgestat):
elif id_kind == "nodes" and isinstance(colors, EdgeStat):
raise TypeError("The color argument for nodes cannot be an EdgeStat")

xsize = len(ids)
Expand Down

0 comments on commit 4e51373

Please sign in to comment.