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.
1 parent 9d277fe commit f7c1c3aCopy full SHA for f7c1c3a
lib/matplotlib/lines.py
@@ -536,19 +536,11 @@ def get_window_extent(self, renderer):
536
bbox = bbox.padded(ms)
537
return bbox
538
539
- @property
540
- def axes(self):
541
- """
542
- The axes this artist belongs to
543
544
- # call the get method on the parents' property
545
- return Artist.axes.fget(self)
546
-
547
- @axes.setter
+ @Artist.axes.setter
548
def axes(self, ax):
549
+ # call the set method from the base-class property
550
Artist.axes.fset(self, ax)
551
- # unit-related call backs
+ # connect unit-related callbacks
552
if ax.xaxis is not None:
553
self._xcid = ax.xaxis.callbacks.connect('units',
554
self.recache_always)
0 commit comments