Skip to content

Commit

Permalink
Merge 7cc0e79 into abff77d
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpaull committed Mar 28, 2017
2 parents abff77d + 7cc0e79 commit 5279438
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion networkx/drawing/nx_pylab.py
Expand Up @@ -128,7 +128,7 @@ def draw(G, pos=None, ax=None, hold=None, **kwds):
if h is not None:
plt.hold(h)
try:
draw_networkx(G, pos=pos, ax=ax, **kwds)
nodes, edges = draw_networkx(G, pos=pos, ax=ax, **kwds)
ax.set_axis_off()
plt.draw_if_interactive()
except:
Expand Down Expand Up @@ -277,6 +277,8 @@ def draw_networkx(G, pos=None, arrows=True, with_labels=True, **kwds):
if with_labels:
draw_networkx_labels(G, pos, **kwds)
plt.draw_if_interactive()

return node_collection, edge_collection


def draw_networkx_nodes(G, pos,
Expand Down

0 comments on commit 5279438

Please sign in to comment.