Commit df5da3c4 authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

graph_draw(): fix fit_view=False behavior

This fixes issue #651
parent 9f3fc571
......@@ -1136,7 +1136,7 @@ def graph_draw(g, pos=None, vprops=None, eprops=None, vorder=None, eorder=None,
x, y, zoom = fit_to_view_ink(g, pos, output_size, vprops,
eprops, adjust_aspect, pad=pad)
x, y, zoom = x, y, 1
x, y, zoom = 0, 0, 1
if isinstance(output, str):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment