@@ -108,12 +108,12 @@ def __init__(self, bounds, transform):
108
108
self ._transform = transform
109
109
110
110
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.
114
114
return mtransforms .TransformedBbox (
115
115
mtransforms .Bbox .from_bounds (* self ._bounds ),
116
- self ._transform - ax .figure .transFigure )
116
+ self ._transform - ax .figure .transSubfigure )
117
117
118
118
119
119
def _process_plot_format (fmt ):
@@ -939,8 +939,8 @@ def set_position(self, pos, which='both'):
939
939
Axes have two position attributes. The 'original' position is the
940
940
position allocated for the Axes. The 'active' position is the
941
941
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.
944
944
945
945
Parameters
946
946
----------
@@ -1371,7 +1371,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
1371
1371
etc.
1372
1372
===== =====================
1373
1373
1374
- See `.set_anchor` for further details.
1374
+ See `~.Axes .set_anchor` for further details.
1375
1375
1376
1376
share : bool, default: False
1377
1377
If ``True``, apply the settings to all shared Axes.
0 commit comments