We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa47bf commit e8e9e29Copy full SHA for e8e9e29
velociraptor/autoplotter/lines.py
@@ -343,12 +343,12 @@ def highlight_data_outside_domain(
343
# Split data into three categories (along X axis)
344
below_x_range = x < x_lim[0]
345
above_x_range = x > x_lim[1]
346
- within_x_range = logical_and(x > x_lim[0], x < x_lim[1])
+ within_x_range = logical_and(x >= x_lim[0], x <= x_lim[1])
347
348
# Split data into three categories (along Y axis)
349
below_y_range = y < y_lim[0]
350
above_y_range = y > y_lim[1]
351
- within_y_range = logical_and(y > y_lim[0], y < y_lim[1])
+ within_y_range = logical_and(y >= y_lim[0], y <= y_lim[1])
352
353
# First, find all data points that are outside the Y-axis range and within
354
# X-axis range
0 commit comments