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

Skip to content

Commit dd855f0

Browse files
Update lib/matplotlib/text.py
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent cd749d1 commit dd855f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/text.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1503,7 +1503,7 @@ def _get_xy_transform(self, renderer, s):
15031503
ref_x, ref_y = xy0
15041504
if unit == "points":
15051505
# dots per points
1506-
dpp = self.figure.dpi / 72.
1506+
dpp = self.figure.dpi / 72
15071507
tr = Affine2D().scale(dpp)
15081508
elif unit == "pixels":
15091509
tr = Affine2D()

0 commit comments

Comments
 (0)