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 87679af + 731f6c8 commit c9dd094Copy full SHA for c9dd094
lib/matplotlib/artist.py
@@ -1,6 +1,7 @@
1
from __future__ import division, print_function
2
import re
3
import warnings
4
+import inspect
5
import matplotlib
6
import matplotlib.cbook as cbook
7
from matplotlib import docstring, rcParams
@@ -948,6 +949,8 @@ def _get_setters_and_targets(self):
948
949
o = getattr(self.o, name)
950
if not callable(o):
951
continue
952
+ if len(inspect.getargspec(o)[0]) < 2:
953
+ continue
954
func = o
955
if self.is_alias(func):
956
0 commit comments