Skip to content

Commit

Permalink
minor clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
HaleySchuhl committed Sep 12, 2024
1 parent 5e8fbbd commit 2a02815
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/napari_save_coor.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Save Points Labeled in Napari to a File
- Filepath - File to save data. If the file exits an extension will be added.

- **Context:**
- Save points labeled in Napari to a file in case the same points need to be used.
- Save points labeled in Napari to a file to checkpoint annotation progress or reuse.

- **Example use:**
- Save points labeled to a file
Expand All @@ -23,13 +23,11 @@ import plantcv.annotate as pcvan

# Create an instance of the Points class
img, path, name = pcv.readimage("./grayimg.png")

# Should open interactive napari viewer
viewer = pcvan.napari_label_classes(img=img, classes=['background', 'wing','seed'])

dictobj = pcvan.napari_save_coor(viewer, 'testdata.txt')

# Should open interactive napari viewer

```

![Screenshot](img/documentation_images/napari_label_classes/napari_label_classes.png)
Expand Down

0 comments on commit 2a02815

Please sign in to comment.