Update advanced_usage.rst

Fixed wrong variable name in function arguments.
Merge pull request #350 from mmermerkaya/patch-1

Update advanced_usage.rst