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

Method is_alias

lib/matplotlib/artist.py:1621–1630  ·  view source on GitHub ↗

Return whether the object *method* is an alias for another method.

(method)

Source from the content-addressed store, hash-verified

1619 @staticmethod
1620 @cache
1621 def is_alias(method):
1622 """
1623 Return whether the object *method* is an alias for another method.
1624 """
1625
1626 ds = inspect.getdoc(method)
1627 if ds is None:
1628 return False
1629
1630 return ds.startswith('Alias for ')
1631
1632 def aliased_name(self, s):
1633 """

Callers 3

get_aliasesMethod · 0.95
get_settersMethod · 0.95
propertiesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected