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

graph_draw(): Honor option output_size, even when output=None

parent 44a65959
......@@ -981,7 +981,8 @@ def graph_draw(g, pos=None, vprops=None, eprops=None, vorder=None, eorder=None,
kwargs.get("ecmap", default_cm))
fit_area = fit_view if fit_view != True else 0.95
return interactive_window(g, pos, vprops, eprops, vorder, eorder,
nodesfirst, fit_area=fit_area, **kwargs)
nodesfirst, geometry=output_size,
fit_area=fit_area, **kwargs)
if isinstance(output, str):
out, auto_fmt = open_file(output, mode="wb")
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