We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f01dc4 commit bc938b4Copy full SHA for bc938b4
1 file changed
adjustText/__init__.py
@@ -25,6 +25,7 @@ def get_bboxes_pathcollection(sc, ax):
25
Thank you to ImportanceOfBeingErnest
26
https://stackoverflow.com/a/55007838/1304161"""
27
# ax.figure.canvas.draw() # need to draw before the transforms are set.
28
+ ax.figure.canvas.draw()
29
transform = sc.get_transform()
30
transOffset = sc.get_offset_transform()
31
offsets = sc._offsets
0 commit comments