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 8c1b70a

Browse filesBrowse files
committed
FL8
1 parent cff7cc5 commit 8c1b70a
Copy full SHA for 8c1b70a

File tree

Expand file treeCollapse file tree

2 files changed

+1
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+1
-4
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def get_window_extent(self, *args, **kwargs):
580580
are empty.
581581
582582
This bounding box does not include the spines, ticks, ticklables,
583-
or other labels. For a bounding box including these elements use
583+
or other labels. For a bounding box including these elements use
584584
`~matplotlib.axes.Axes.get_tightbbox`.
585585
586586
See Also

‎lib/matplotlib/tests/test_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_axes.py
-3Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6040,8 +6040,6 @@ def invert(x):
60406040
assert_allclose(ax.get_position().extents, [0.125, 0.1, 0.9, 0.9])
60416041

60426042

6043-
6044-
60456043
def color_boxes(fig, axs):
60466044
"""
60476045
Helper for extent tests below:
@@ -6127,7 +6125,6 @@ def test_normal_axes_extents():
61276125
assert_array_almost_equal(axbb, ax.get_window_extent().bounds, decimal=2)
61286126

61296127

6130-
61316128
def test_nodecorator_extents():
61326129
with rc_context({'_internal.classic_mode': False}):
61336130
fig, ax = plt.subplots(dpi=200, figsize=(6, 6))

0 commit comments

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