In many packages documentation, you can read something like bellow from matplotlib:
fig.colorbar(mappable, cax=None, ax=None, use_gridspec=True, **kw)
How can one know what are the other possibilities with **kw? Some documentations describe them others don't.