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
f9399937
Commit
f9399937
authored
Jul 09, 2017
by
Tiago Peixoto
Browse files
graph_draw(): Fix color_coverter typo
This fixes issue #405
parent
31ae4357
Pipeline
#340
passed with stage
in 234 minutes and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/draw/cairo_draw.py
View file @
f9399937
...
...
@@ -376,7 +376,7 @@ def _convert(attr, val, cmap, pmap_default=False, g=None, k=None):
new_val
=
[
float
(
x
)
for
x
in
flatten
(
val
)]
except
ValueError
:
try
:
new_val
=
flatten
(
color_convert
.
to_rgba
(
x
)
for
x
in
val
)
new_val
=
flatten
(
color_convert
er
.
to_rgba
(
x
)
for
x
in
val
)
new_val
=
list
(
new_val
)
except
ValueError
:
pass
...
...
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