Skip to content

Commit 0e20efd

Browse files
restore original comparison
1 parent b64a6b4 commit 0e20efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labellines/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def labelLines(
210210
minx, maxx = min(xdata), max(xdata)
211211
for j, xv in enumerate(xvals): # type: ignore
212212
xv = line.convert_xunits(xv)
213-
ok_matrix[i, j] = minx <= xv <= maxx
213+
ok_matrix[i, j] = minx < xv < maxx
214214

215215
# If some xvals do not fall in their corresponding line,
216216
# find a better matching using maximum bipartite matching.

0 commit comments

Comments
 (0)