@@ -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