Skip to content

Commit cf84976

Browse files
committed
small fixes
1 parent 396e494 commit cf84976

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

plotpy/tests/unit/test_annotation_tools.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@
44

55
import numpy as np
66
import pytest
7-
import qtpy.QtCore as QC
87
from guidata.qthelpers import exec_dialog, execenv, qt_app_context
98

109
from plotpy.interfaces.items import IBasePlotItem, IShapeItemType
11-
from plotpy.items.image.base import BaseImageItem
1210
from plotpy.tests import vistools as ptv
1311
from plotpy.tests.features.test_auto_curve_image import make_curve_image_legend
1412
from plotpy.tools import (
@@ -32,16 +30,13 @@
3230
SelectTool,
3331
SnapshotTool,
3432
)
35-
from plotpy.tools.label import LabelTool
3633

3734
if TYPE_CHECKING:
35+
from plotpy.items.image.base import BaseImageItem
3836
from plotpy.plot.plotwidget import PlotWindow
3937

4038
from plotpy.tests.unit.utils import drag_mouse, undo_redo
4139

42-
P0 = QC.QPointF(10, 10)
43-
P1 = QC.QPointF(100, 100)
44-
4540
TOOLS: tuple[type[InteractiveTool], ...] = (
4641
AnnotatedCircleTool,
4742
AnnotatedEllipseTool,

0 commit comments

Comments
 (0)