[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] write_svg kwds parameter

From: Tamás Nepusz
Subject: Re: [igraph] write_svg kwds parameter
Date: Sun, 24 Aug 2014 23:32:50 +0200

> 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 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]