Commit df5da3c4 authored by Tiago Peixoto's avatar Tiago Peixoto

graph_draw(): fix fit_view=False behavior

This fixes issue #651
parent 9f3fc571
Pipeline #608 failed with stage
in 539 minutes and 16 seconds
......@@ -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)
else:
x, y, zoom = x, y, 1
x, y, zoom = 0, 0, 1
if isinstance(output, str):
......
Markdown is supported
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