Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
df5da3c4
Commit
df5da3c4
authored
Apr 21, 2020
by
Tiago Peixoto
Browse files
graph_draw(): fix fit_view=False behavior
This fixes issue
#651
parent
9f3fc571
Pipeline
#608
failed with stage
in 539 minutes and 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/draw/cairo_draw.py
View file @
df5da3c4
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment