There is a section in dataviz/tutorial.md that talks about *args and **kwargs without really explaining them (i.e. you can pass rotation=90 even though the method does not take a rotation argument because it accepts varkwargs, i.e. arbitrary named parameters).
We could rephrase that part, or keep the mention of **kwargs (it’s useful) and link to the Python docs (where some effort has been put recently to distinguish the parameters definition style from the argument passing style (e.g. a parameter always has a name, even if you pass it as positional argument in one call)).
There is a section in dataviz/tutorial.md that talks about
*args
and**kwargs
without really explaining them (i.e. you can passrotation=90
even though the method does not take a rotation argument because it accepts varkwargs, i.e. arbitrary named parameters).We could rephrase that part, or keep the mention of
**kwargs
(it’s useful) and link to the Python docs (where some effort has been put recently to distinguish the parameters definition style from the argument passing style (e.g. a parameter always has a name, even if you pass it as positional argument in one call)).