Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents eeb9298 + e40c607 commit 57c393dCopy full SHA for 57c393d
lib/matplotlib/artist.py
@@ -1423,7 +1423,7 @@ def get_aliases(self):
1423
aliases = {}
1424
for name in names:
1425
func = getattr(self.o, name)
1426
- if not ArtistInspector.is_alias(func):
+ if not self.is_alias(func):
1427
continue
1428
propname = re.search("`({}.*)`".format(name[:4]), # get_.*/set_.*
1429
inspect.getdoc(func)).group(1)
@@ -1494,8 +1494,8 @@ def get_setters(self):
1494
1495
1496
if (not callable(func)
1497
- or ArtistInspector.number_of_parameters(func) < 2
1498
- or ArtistInspector.is_alias(func)):
+ or self.number_of_parameters(func) < 2
+ or self.is_alias(func)):
1499
1500
setters.append(name[4:])
1501
return setters
0 commit comments