File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,6 +193,13 @@ def get_window_extent(self, renderer):
193193 Subclasses should override for inclusion in the bounding box
194194 "tight" calculation. Default is to return an empty bounding
195195 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 can
199+ change due to any changes in the transform stack, such as changing
200+ the axes limits, the figure size, or the canvas used (as is done when
201+ saving a figure). This can lead to expected behavior where interactive
202+ figures will look fine on the screen, but will save incorrectly.
196203 """
197204 return Bbox ([[0 , 0 ], [0 , 0 ]])
198205
@@ -644,7 +651,7 @@ def set_clip_on(self, b):
644651 """
645652 Set whether artist uses clipping.
646653
647- When False artists will be visible out side of the axes which
654+ When False artists will be visible out side of the axes which
648655 can lead to unexpected results.
649656
650657 ACCEPTS: [True | False]
You can’t perform that action at this time.
0 commit comments