Skip to content

Commit 8569e42

Browse files
authored
Merge pull request #5571 from ales-erjavec/fixes/roc-analysis-pts-test
[FIX] owrocanalysis: Fix test for non empty points array
2 parents 90f801e + 9df9755 commit 8569e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/widgets/evaluate/owrocanalysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def _on_mouse_moved(self, pos):
668668

669669
sp = curve.curve_item.childItems()[0] # type: pg.ScatterPlotItem
670670
act_pos = sp.mapFromScene(pos)
671-
pts = sp.pointsAt(act_pos)
671+
pts = list(sp.pointsAt(act_pos))
672672

673673
if pts:
674674
mouse_pt = pts[0].pos()

0 commit comments

Comments
 (0)