Commit f9399937 authored by Tiago Peixoto's avatar 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
......@@ -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_converter.to_rgba(x) for x in val)
new_val = list(new_val)
except ValueError:
pass
......
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