> I'm trying to use kwds parameter just as in the plot method, but that does
> not work...
kwds is not a single parameter, it denotes the set of all the keyword arguments 
that are otherwise not mentioned in the function signature. If you supply your 
visual styling parameters in a dictionary, you have to use graph.write_svg(..., 
**visual_style) to pass this dictionary as a set of keyword arguments to the 
write_svg() function.

This section from the Python tutorial might clarify the usage of **kwds 
furthers:

https://docs.python.org/2/tutorial/controlflow.html#keyword-arguments

T.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to