Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c720045

Browse filesBrowse files
committed
FIX: add apply_aspect back to _base draw
1 parent b39bd9d commit c720045
Copy full SHA for c720045

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2546,6 +2546,12 @@ def draw(self, renderer=None, inframe=False):
25462546

25472547
# prevent triggering call backs during the draw process
25482548
self._stale = True
2549+
locator = self.get_axes_locator()
2550+
if locator:
2551+
pos = locator(self, renderer)
2552+
self.apply_aspect(pos)
2553+
else:
2554+
self.apply_aspect()
25492555

25502556
artists = self.get_children()
25512557
artists.remove(self.patch)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.