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
d9d99c0d
Commit
d9d99c0d
authored
Nov 26, 2012
by
Tiago Peixoto
Browse files
Fix vertex_surface conversion in graph_draw()
parent
63ab770f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/graph_tool/draw/cairo_draw.py
View file @
d9d99c0d
...
...
@@ -156,7 +156,6 @@ def surface_from_prop(surface):
if
surface
[
v
]
not
in
surface_map
:
sfc
=
gen_surface
(
surface
[
v
])
surface_map
[
surface
[
v
]]
=
sfc
else
:
prop
[
v
]
=
surface_map
[
surface
[
v
]]
elif
surface
.
value_type
()
==
"python::object"
:
if
isinstance
(
surface
[
v
],
cairo
.
Surface
):
...
...
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