MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / number_of_parameters

Method number_of_parameters

lib/matplotlib/artist.py:1615–1617  ·  view source on GitHub ↗

Return number of parameters of the callable *func*.

(func)

Source from the content-addressed store, hash-verified

1613 @staticmethod
1614 @cache
1615 def number_of_parameters(func):
1616 """Return number of parameters of the callable *func*."""
1617 return len(inspect.signature(func).parameters)
1618
1619 @staticmethod
1620 @cache

Callers 1

get_settersMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected