Skip to content

Commit ae9f8e5

Browse files
committed
fix-update-spine-positions-before-getting-extents
1 parent 27e9a4c commit ae9f8e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/spines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def get_window_extent(self, renderer=None):
150150
# make sure the location is updated so that transforms etc are
151151
# correct:
152152
self._adjust_location()
153-
return self.get_path().get_extents(self.get_transform())
153+
return super().get_window_extent(renderer=renderer)
154154

155155
def get_path(self):
156156
return self._path

0 commit comments

Comments
 (0)