On 02/26/2014 12:15 PM, CitSci wrote:
> Hi, I have been having issues with graph_draw, notably there is a reference
> to certain parameters being 'unkown', it works for a while then kills the
> process. By graph_draw line is:
>
> pos=sfdp_layout(Graph)
> graph_draw(Graph, pos=pos,text=v_seq, output_size=(7000,7000),
> fmt='png',output="graph.png")
>
> Terminal output:
> /usr/lib/python2.7/dist-packages/graph_tool/draw/cairo_draw.py:417:
> UserWarning: Unknown parameter: text
> warnings.warn("Unknown parameter: " + k, UserWarning)
> Killed
>
> Is there something wrong with the pycairo installation?It is probably being killed because it is running out of memory. Maybe your graph is too big. The unknown parameter error is because you're passing it in the wrong way. You need to do graph_draw(g, vertex_text=v_seq, ...), as explained in the documentation. Best, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
