Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nwlandry committed Oct 16, 2023
1 parent 6d0a229 commit 172ea73
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 172ea73

Please sign in to comment.