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 5c63769

Browse filesBrowse files
committed
FIX: add API note and fix method links
1 parent 609c576 commit 5c63769
Copy full SHA for 5c63769

File tree

Expand file treeCollapse file tree

3 files changed

+9
-5
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+9
-5
lines changed

‎doc/api/next_api_changes/2018-11-04-JMK.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/2018-11-04-JMK.rst
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,9 @@ visible, or on the spine.
1010
Now `.matplotlib.axes.Axes.get_window_extent` just returns the axes extent
1111
with no padding for ticks.
1212

13+
This affects `.matplotlib.axes.Axes.get_tightbbox` in cases where there are
14+
outward ticks with no tick labels, and it also removes the (small) pad around
15+
axes in that case.
16+
1317
`.spines.get_window_extent` now takes into account ticks that are on the
1418
spine.

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -581,9 +581,9 @@ def get_window_extent(self, *args, **kwargs):
581581
582582
See Also
583583
--------
584-
.matplotlib.axes.Axes.get_tightbbox
585-
.matplotlib.axis.Axis.get_tightbbox
586-
.spines.get_window_extent
584+
matplotlib.axes.Axes.get_tightbbox
585+
matplotlib.axis.Axis.get_tightbbox
586+
matplotlib.spines.get_window_extent
587587
588588
"""
589589
return self.bbox

‎lib/matplotlib/spines.py

Copy file name to clipboardExpand all lines: lib/matplotlib/spines.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ def get_window_extent(self, renderer=None):
151151
152152
See Also
153153
--------
154-
.matplotlib.axes.Axes.get_tightbbox
155-
.matplotlib.axes.Axes.get_window_extent
154+
matplotlib.axes.Axes.get_tightbbox
155+
matplotlib.axes.Axes.get_window_extent
156156
157157
"""
158158
# make sure the location is updated so that transforms etc are

0 commit comments

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