Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 26c44cf

Browse files
committed
update annotations
1 parent 31a8093 commit 26c44cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/text.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2354,6 +2354,7 @@ def get_window_extent(self, renderer=None):
23542354
*dpi* used defaults to self.figure.dpi; the renderer dpi is
23552355
irrelevant.
23562356
'''
2357+
self.update_positions(renderer)
23572358
if not self.get_visible():
23582359
return Bbox.unit()
23592360

0 commit comments

Comments
 (0)