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 c90b637

Browse filesBrowse files
committed
DOC: add to docstring for get_window_extent
1 parent 5c63769 commit c90b637
Copy full SHA for c90b637

File tree

Expand file treeCollapse file tree

1 file changed

+13
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+13
-2
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+13-2Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,8 +576,12 @@ def __setstate__(self, state):
576576

577577
def get_window_extent(self, *args, **kwargs):
578578
"""
579-
Return the axes bounding box in display space;
580-
*args* and *kwargs* are empty
579+
Return the axes bounding box in display space; *args* and *kwargs*
580+
are empty.
581+
582+
This bounding box does not include the spines, ticks, ticklables,
583+
or other labels. For a bounding box including these elements use
584+
`~matplotlib.axes.Axes.get_tightbbox`.
581585
582586
See Also
583587
--------
@@ -4289,6 +4293,13 @@ def get_tightbbox(self, renderer, call_axes_locator=True,
42894293
-------
42904294
bbox : `.BboxBase`
42914295
bounding box in figure pixel coordinates.
4296+
4297+
See Also
4298+
--------
4299+
matplotlib.axis.Axes.get_window_extent
4300+
matplotlib.axis.Axis.get_tightbbox
4301+
matplotlib.spines.get_window_extent
4302+
42924303
"""
42934304

42944305
bb = []

0 commit comments

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