Skip to content

Commit bc938b4

Browse files
authored
Update __init__.py
1 parent 6f01dc4 commit bc938b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

adjustText/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def get_bboxes_pathcollection(sc, ax):
2525
Thank you to ImportanceOfBeingErnest
2626
https://stackoverflow.com/a/55007838/1304161"""
2727
# ax.figure.canvas.draw() # need to draw before the transforms are set.
28+
ax.figure.canvas.draw()
2829
transform = sc.get_transform()
2930
transOffset = sc.get_offset_transform()
3031
offsets = sc._offsets

0 commit comments

Comments
 (0)