Skip to content

Commit

Permalink
owkaplanmeier: fix cure highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
JakaKokosar committed Dec 8, 2020
1 parent a307594 commit 6a59540
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions orangecontrib/survival_analysis/widgets/owkaplanmeier.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ def mouseMovedEvent(self, ev):
y_pixel = self.HIGHLIGHT_RADIUS * y_pixel_size

for curve_id, curve in self.curves.items():
if mouse_x_pos < curve.x[0] or mouse_x_pos > curve.x[-1]:
return

points = np.column_stack((curve.x, curve.y))
line_segments = np.column_stack((points[:-1, :], points[1:, :]))
Expand Down

0 comments on commit 6a59540

Please sign in to comment.