8000 Update lines.py · matplotlib/matplotlib@2598623 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2598623

Browse files
authored
Update lines.py
1 parent e90bca0 commit 2598623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/lines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ def get_transform(self):
15181518
x1, y1 = points_transform.transform(self._xy1)
15191519
slope = self._slope
15201520
(vxlo, vylo), (vxhi, vyhi) = ax.transScale.transform(ax.viewLim)
1521-
1521+
15221522
# Adjust the tolerance for np.isclose based on the view limits
15231523
y_limits = ax.get_ylim()
15241524
tolerance = abs((y_limits[1] - y_limits[0]) / (vxhi - vxlo)) * 1e-8

0 commit comments

Comments
 (0)
0