Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57c393d

Browse files
committed
Merge branch 'importtime_artist' of githubeendebakpt:eendebakpt/matplotlib into importtime_artist
2 parents eeb9298 + e40c607 commit 57c393d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/artist.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@ def get_aliases(self):
14231423
aliases = {}
14241424
for name in names:
14251425
func = getattr(self.o, name)
1426-
if not ArtistInspector.is_alias(func):
1426+
if not self.is_alias(func):
14271427
continue
14281428
propname = re.search("`({}.*)`".format(name[:4]), # get_.*/set_.*
14291429
inspect.getdoc(func)).group(1)
@@ -1494,8 +1494,8 @@ def get_setters(self):
14941494
continue
14951495
func = getattr(self.o, name)
14961496
if (not callable(func)
1497-
or ArtistInspector.number_of_parameters(func) < 2
1498-
or ArtistInspector.is_alias(func)):
1497+
or self.number_of_parameters(func) < 2
1498+
or self.is_alias(func)):
14991499
continue
15001500
setters.append(name[4:])
15011501
return setters

0 commit comments

Comments
 (0)