We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29fe981 commit 6f4bb05Copy full SHA for 6f4bb05
lib/matplotlib/artist.py
@@ -300,7 +300,7 @@ def stale(self, val):
300
if val and self.stale_callback is not None:
301
self.stale_callback(self, val)
302
303
- def get_window_extent(self):
+ def get_window_extent(self, renderer):
304
"""
305
Get the axes bounding box in display space.
306
lib/matplotlib/collections.py
@@ -303,7 +303,7 @@ def get_datalim(self, transData):
return bbox
return transforms.Bbox.null()
307
# TODO: check to ensure that this does not fail for
308
# cases other than scatter plot legend
309
return self.get_datalim(transforms.IdentityTransform())
0 commit comments