Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
zktuong committed Oct 4, 2023
1 parent e08ae90 commit 9201d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dandelion/tools/_network.py
Expand Up @@ -784,9 +784,9 @@ def _generate_layout(
pos_ = dict(
zip(list(gtg_.vertex_properties["id"]), list(posx_))
)
if pos is None:
G = G_
pos = pos_
if pos is None:
G = G_
pos = pos_

return (G, G_, pos, pos_)
else:
Expand Down

0 comments on commit 9201d88

Please sign in to comment.