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

Skip to content

Commit 1c346b8

Browse files
committed
DOC: move usage tutorial info to Users guide rst [skip actions] [skip azp] [skip appveyor]
1 parent bb7e240 commit 1c346b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def stale(self, val):
300300
if val and self.stale_callback is not None:
301301
self.stale_callback(self, val)
302302

303-
def get_window_extent(self):
303+
def get_window_extent(self, renderer):
304304
"""
305305
Get the axes bounding box in display space.
306306

lib/matplotlib/collections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def get_datalim(self, transData):
303303
return bbox
304304
return transforms.Bbox.null()
305305

306-
def get_window_extent(self):
306+
def get_window_extent(self, renderer):
307307
# TODO: check to ensure that this does not fail for
308308
# cases other than scatter plot legend
309309
return self.get_datalim(transforms.IdentityTransform())

0 commit comments

Comments
 (0)