Skip to content

Commit 5dc7e0a

Browse files
committed
DOC [ci doc]
1 parent 1a4904f commit 5dc7e0a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

doc/api/figure_api.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ Interacting
131131
Figure.ginput
132132
Figure.add_axobserver
133133
Figure.waitforbuttonpress
134+
Figure.pick
134135

135136
Modifying appearance
136137
====================

lib/matplotlib/figure.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2789,14 +2789,14 @@ def _set_dpi(self, dpi, forward=True):
27892789
dpi = property(_get_dpi, _set_dpi, doc="The resolution in dots per inch.")
27902790

27912791
def get_tight_layout(self):
2792-
"""Return whether `.tight_layout` is called when drawing."""
2792+
"""Return whether `.Figure.tight_layout` is called when drawing."""
27932793
return isinstance(self.get_layout_engine(), TightLayoutEngine)
27942794

27952795
@_api.deprecated("3.6", alternative="set_layout_engine",
27962796
pending=True)
27972797
def set_tight_layout(self, tight):
27982798
"""
2799-
[*Discouraged*] Set whether and how `.tight_layout` is called when
2799+
[*Discouraged*] Set whether and how `.Figure.tight_layout` is called when
28002800
drawing.
28012801
28022802
.. admonition:: Discouraged
@@ -2806,9 +2806,9 @@ def set_tight_layout(self, tight):
28062806
Parameters
28072807
----------
28082808
tight : bool or dict with keys "pad", "w_pad", "h_pad", "rect" or None
2809-
If a bool, sets whether to call `.tight_layout` upon drawing.
2809+
If a bool, sets whether to call `.Figure.tight_layout` upon drawing.
28102810
If ``None``, use :rc:`figure.autolayout` instead.
2811-
If a dict, pass it as kwargs to `.tight_layout`, overriding the
2811+
If a dict, pass it as kwargs to `.Figure.tight_layout`, overriding the
28122812
default paddings.
28132813
"""
28142814
if tight is None:

0 commit comments

Comments
 (0)