Update advanced_usage.rst

Fixed wrong variable name in function arguments.