@@ -2789,14 +2789,14 @@ def _set_dpi(self, dpi, forward=True):
2789
2789
dpi = property (_get_dpi , _set_dpi , doc = "The resolution in dots per inch." )
2790
2790
2791
2791
def get_tight_layout (self ):
2792
- """Return whether `.tight_layout` is called when drawing."""
2792
+ """Return whether `.Figure. tight_layout` is called when drawing."""
2793
2793
return isinstance (self .get_layout_engine (), TightLayoutEngine )
2794
2794
2795
2795
@_api .deprecated ("3.6" , alternative = "set_layout_engine" ,
2796
2796
pending = True )
2797
2797
def set_tight_layout (self , tight ):
2798
2798
"""
2799
- [*Discouraged*] Set whether and how `.tight_layout` is called when
2799
+ [*Discouraged*] Set whether and how `.Figure. tight_layout` is called when
2800
2800
drawing.
2801
2801
2802
2802
.. admonition:: Discouraged
@@ -2806,9 +2806,9 @@ def set_tight_layout(self, tight):
2806
2806
Parameters
2807
2807
----------
2808
2808
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.
2810
2810
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
2812
2812
default paddings.
2813
2813
"""
2814
2814
if tight is None :
0 commit comments