We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b64a6b4 commit 0e20efdCopy full SHA for 0e20efd
labellines/core.py
@@ -210,7 +210,7 @@ def labelLines(
210
minx, maxx = min(xdata), max(xdata)
211
for j, xv in enumerate(xvals): # type: ignore
212
xv = line.convert_xunits(xv)
213
- ok_matrix[i, j] = minx <= xv <= maxx
+ ok_matrix[i, j] = minx < xv < maxx
214
215
# If some xvals do not fall in their corresponding line,
216
# find a better matching using maximum bipartite matching.
0 commit comments