File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,14 @@ def get_window_extent(self, renderer):
193
193
Subclasses should override for inclusion in the bounding box
194
194
"tight" calculation. Default is to return an empty bounding
195
195
box at 0, 0.
196
+
197
+ Be careful when using this function, the results will not update
198
+ if the artist window extent of the artist changes. The extent
199
+ can change due to any changes in the transform stack, such as
200
+ changing the axes limits, the figure size, or the canvas used
201
+ (as is done when saving a figure). This can lead to unexpected
202
+ behavior where interactive figures will look fine on the screen,
203
+ but will save incorrectly.
196
204
"""
197
205
return Bbox ([[0 , 0 ], [0 , 0 ]])
198
206
@@ -644,7 +652,7 @@ def set_clip_on(self, b):
644
652
"""
645
653
Set whether artist uses clipping.
646
654
647
- When False artists will be visible out side of the axes which
655
+ When False artists will be visible out side of the axes which
648
656
can lead to unexpected results.
649
657
650
658
ACCEPTS: [True | False]
You can’t perform that action at this time.
0 commit comments