Skip to content

Commit

Permalink
Fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanIsCoding committed Nov 11, 2024
1 parent 841b58d commit f7adc87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustworkx/visualization/matplotlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def draw_edges(
edge_pos_keys = dict()
for e in edge_list:
edge_pos_keys[(tuple(pos[e[0]]), tuple(pos[e[1]]))] = None
edge_pos = edge_pos.keys()
edge_pos = edge_pos_keys.keys()

# Check if edge_color is an array of floats and map to edge_cmap.
# This is the only case handled differently from matplotlib
Expand Down

0 comments on commit f7adc87

Please sign in to comment.