Skip to content

Commit 9ff79fa

Browse files
committed
DOC [ci doc]
1 parent 49103d6 commit 9ff79fa

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,21 +2789,21 @@ 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-
Set whether and how `.tight_layout` is called when drawing.
2799+
Set whether and how `.Figure.tight_layout` is called when drawing.
28002800
28012801
Parameters
28022802
----------
28032803
tight : bool or dict with keys "pad", "w_pad", "h_pad", "rect" or None
2804-
If a bool, sets whether to call `.tight_layout` upon drawing.
2804+
If a bool, sets whether to call `.Figure.tight_layout` upon drawing.
28052805
If ``None``, use :rc:`figure.autolayout` instead.
2806-
If a dict, pass it as kwargs to `.tight_layout`, overriding the
2806+
If a dict, pass it as kwargs to `.Figure.tight_layout`, overriding the
28072807
default paddings.
28082808
"""
28092809
if tight is None:

0 commit comments

Comments
 (0)