You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/napari_deeplabcut/_widgets.py
+65-41Lines changed: 65 additions & 41 deletions
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@
52
52
)
53
53
54
54
55
-
Tip=namedtuple('Tip', ['msg', 'pos'])
55
+
Tip=namedtuple("Tip", ["msg", "pos"])
56
56
57
57
58
58
classTutorial(QDialog):
@@ -67,15 +67,35 @@ def __init__(self, parent):
67
67
68
68
self._current_tip=0
69
69
self._tips= [
70
-
Tip("Load a folder of annotated data\n(and optionally a config file if labeling from scratch)\nfrom the menu File > Open File or Open Folder.\nAlternatively, files and folders of images can be dragged\nand dropped onto the main window.", (0.35, 0.15)),
71
-
Tip("Data layers will be listed at the bottom left;\ntheir visibility can be toggled by clicking on the small eye icon.", (0.1, 0.65)),
72
-
Tip("Corresponding layer controls can be found at the top left.\nSwitch between labeling and selection mode using the numeric keys 2 and 3,\nor clicking on the + or -> icons.", (0.1, 0.2)),
73
-
Tip("There are three keypoint labeling modes:\nthe key M can be used to cycle between them.", (0.65, 0.05)),
74
-
Tip("When done labeling, save your data by selecting the Points layer\nand hitting Ctrl+S (or File > Save Selected Layer(s)...).", (0.1, 0.65)),
75
-
Tip("Read more at <a href='https://github.com/DeepLabCut/napari-deeplabcut#usage'>napari-deeplabcut</a>", (0.4, 0.4)),
70
+
Tip(
71
+
"Load a folder of annotated data\n(and optionally a config file if labeling from scratch)\nfrom the menu File > Open File or Open Folder.\nAlternatively, files and folders of images can be dragged\nand dropped onto the main window.",
72
+
(0.35, 0.15),
73
+
),
74
+
Tip(
75
+
"Data layers will be listed at the bottom left;\ntheir visibility can be toggled by clicking on the small eye icon.",
76
+
(0.1, 0.65),
77
+
),
78
+
Tip(
79
+
"Corresponding layer controls can be found at the top left.\nSwitch between labeling and selection mode using the numeric keys 2 and 3,\nor clicking on the + or -> icons.",
80
+
(0.1, 0.2),
81
+
),
82
+
Tip(
83
+
"There are three keypoint labeling modes:\nthe key M can be used to cycle between them.",
84
+
(0.65, 0.05),
85
+
),
86
+
Tip(
87
+
"When done labeling, save your data by selecting the Points layer\nand hitting Ctrl+S (or File > Save Selected Layer(s)...).",
88
+
(0.1, 0.65),
89
+
),
90
+
Tip(
91
+
"Read more at <a href='https://github.com/DeepLabCut/napari-deeplabcut#usage'>napari-deeplabcut</a>",
0 commit comments