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
7ddae8ef
Commit
7ddae8ef
authored
May 31, 2015
by
Tiago Peixoto
Browse files
draw_hierarchy(): Propagate tree properties unchanged
parent
8bd9024a
Changes
1
Show whitespace changes
Inline
Side-by-side
src/graph_tool/draw/cairo_draw.py
View file @
7ddae8ef
...
...
@@ -1637,7 +1637,7 @@ def draw_hierarchy(state, pos=None, layout="radial", beta=0.8, ealpha=0.4,
# propagate all other properties in args
arg_pos
=
{}
for
a
,
v
in
args
.
items
():
if
isinstance
(
v
,
PropertyMap
):
if
isinstance
(
v
,
PropertyMap
)
and
v
.
key_type
()
!=
"v"
:
props
.
append
((
v
,
None
))
arg_pos
[
a
]
=
len
(
props
)
-
1
...
...
Write
Preview
Markdown
is supported
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