DeepLabCut / napari-deeplabcut

a napari plugin for labeling and refining keypoint data within DeepLabCut projects
GNU Lesser General Public License v3.0
52 stars 22 forks source link

Adds tooltips to radio buttons for labeling modes #17

Closed C-Achard closed 2 years ago

C-Achard commented 2 years ago

Just a quick ease-of-use improvement to know which mode does what

jeylau commented 2 years ago

Yeah, super addition 💪☺️ Just a minor suggestion though: what would you say about moving tooltips to keypoints.py (where it will then reside alongside the LabelMode enum), and defining it as a dictionary (e.g., {mode: tip})? I find it more robust to do something like that: btn.setTooltip(keypoints.TOOLTIPS[mode]). What do you think?😊

C-Achard commented 2 years ago

Done ! Sorry, I just threw a minimal solution together last night. Is the current version okay ?

jeylau commented 2 years ago

Yes! Thanks a lot!