Skip to content

Commit

Permalink
Explicitly disable arrows #137
Browse files Browse the repository at this point in the history
  • Loading branch information
mph- committed Oct 2, 2024
1 parent d4c4ba3 commit 0d1d875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcapy/circuitgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def draw(self, filename=None, axes=None):
pos = nx.spring_layout(G)

labels = dict(zip(G.nodes(), G.nodes()))
nx.draw_networkx(G, pos, axes, labels=labels)
nx.draw_networkx(G, pos, ax=axes, labels=labels, arrows=False)

edge_labels = dict([((u, v), d['name'])
for u, v, d in G.edges(data=True)])
Expand Down

0 comments on commit 0d1d875

Please sign in to comment.