File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55import numpy as np
66import pytest
7- import qtpy .QtCore as QC
87from guidata .qthelpers import exec_dialog , execenv , qt_app_context
98
109from plotpy .interfaces .items import IBasePlotItem , IShapeItemType
11- from plotpy .items .image .base import BaseImageItem
1210from plotpy .tests import vistools as ptv
1311from plotpy .tests .features .test_auto_curve_image import make_curve_image_legend
1412from plotpy .tools import (
3230 SelectTool ,
3331 SnapshotTool ,
3432)
35- from plotpy .tools .label import LabelTool
3633
3734if TYPE_CHECKING :
35+ from plotpy .items .image .base import BaseImageItem
3836 from plotpy .plot .plotwidget import PlotWindow
3937
4038from plotpy .tests .unit .utils import drag_mouse , undo_redo
4139
42- P0 = QC .QPointF (10 , 10 )
43- P1 = QC .QPointF (100 , 100 )
44-
4540TOOLS : tuple [type [InteractiveTool ], ...] = (
4641 AnnotatedCircleTool ,
4742 AnnotatedEllipseTool ,
You can’t perform that action at this time.
0 commit comments