遇到了参数对不上定义却还能使用的问题

零基础人自学matplotlib,产生疑惑。
明明plot函数的定义里面没有,为什么linewidth=5这个参数能够使用
代码:

squares = [1, 4, 9, 16, 25]
plt.plot(squares, linewidth=5)

plot函数的定义,里面也没有linewidth参数
代码:

# Autogenerated by boilerplate.py.  Do not edit as changes will be lost.
@_copy_docstring_and_deprecators(Axes.plot)
def plot(*args, scalex=True, scaley=True, data=None, **kwargs):
    return gca().plot(
        *args, scalex=scalex, scaley=scaley,
        **({"data": data} if data is not None else {}), **kwargs)

不知道怎么学,好难 ┭┮﹏┭┮

在kwargs里定义的,这是个字典
具体你要跟进gca().plot里去看