@@ -108,12 +108,12 @@ def __init__(self, bounds, transform):
108108 self ._transform = transform
109109
110110 def __call__ (self , ax , renderer ):
111- # Subtracting transFigure will typically rely on inverted(), freezing
112- # the transform; thus, this needs to be delayed until draw time as
113- # transFigure may otherwise change after this is evaluated.
111+ # Subtracting transSubfigure will typically rely on inverted(),
112+ # freezing the transform; thus, this needs to be delayed until draw
113+ # time as transSubfigure may otherwise change after this is evaluated.
114114 return mtransforms .TransformedBbox (
115115 mtransforms .Bbox .from_bounds (* self ._bounds ),
116- self ._transform - ax .figure .transFigure )
116+ self ._transform - ax .figure .transSubfigure )
117117
118118
119119def _process_plot_format (fmt ):
@@ -939,8 +939,8 @@ def set_position(self, pos, which='both'):
939939 Axes have two position attributes. The 'original' position is the
940940 position allocated for the Axes. The 'active' position is the
941941 position the Axes is actually drawn at. These positions are usually
942- the same unless a fixed aspect is set to the Axes. See `.set_aspect`
943- for details.
942+ the same unless a fixed aspect is set to the Axes. See
943+ `.Axes.set_aspect` for details.
944944
945945 Parameters
946946 ----------
@@ -1371,7 +1371,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
13711371 etc.
13721372 ===== =====================
13731373
1374- See `.set_anchor` for further details.
1374+ See `~.Axes .set_anchor` for further details.
13751375
13761376 share : bool, default: False
13771377 If ``True``, apply the settings to all shared Axes.
0 commit comments