Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
olavl authored Apr 19, 2023
1 parent 6f01dc4 commit bc938b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adjustText/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def get_bboxes_pathcollection(sc, ax):
Thank you to ImportanceOfBeingErnest
https://stackoverflow.com/a/55007838/1304161"""
# ax.figure.canvas.draw() # need to draw before the transforms are set.
ax.figure.canvas.draw()
transform = sc.get_transform()
transOffset = sc.get_offset_transform()
offsets = sc._offsets
Expand Down

0 comments on commit bc938b4

Please sign in to comment.