Skip to content

Commit

Permalink
take suggestions from PR comment https://github.com/napari/docs/pull/…
Browse files Browse the repository at this point in the history
  • Loading branch information
vreuter committed Mar 8, 2024
1 parent bf3c391 commit a8a053e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/plugins/building_a_plugin/_layer_data_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ up often in plugins and is explained here.

Note that when writing your own plugin, type annotations are optional,
except in the case of [`magicgui` function widgets](magicgui).
Here we sometimes provide a type annotation with a more informative name,
indicating its value's _functional role_ in a plugin, in addition to its possible types.
For several types related to `LayerData` tuples, Napari defines an alias
which better indicates a value's _functional role_ in a plugin.
We describe these below.

### Informal description

Expand Down

0 comments on commit a8a053e

Please sign in to comment.