What's the best way to understand which **kwargs are valid for a given python function?
I often need to use python functions that can accept additional keyword arguments as **kwargs, but I am unsure which **kwargs I can use.
For example, I am currently looking at the matplotlib.pyplot.subplot2grid function docs https://matplotlib.org/3.2.1/api/_as_gen/matplotlib.pyplot.subplot2grid.html but it doesn't give any further information.