get_set_methods#
- sunpy.util.get_set_methods(obj)[source]#
Returns a set of keyword names that can be handled by an object’s
set_...
methods.- Parameters:
obj (
object
) – Matplotlib object such asAxesImage
to extract handled keyword arguments for.- Returns:
keywords (
set
) – A set of accepted keyword arguments.
Notes
See
matplotlib.artist.Artist.update()
for an example of Matplotlib relying on this capability.