Skip to content

Commit

Permalink
Fix execution of magicgui guide (#314)
Browse files Browse the repository at this point in the history
# Description
Fixes a typo that generates an error while building the docs.
  • Loading branch information
melissawm authored Jan 13, 2024
1 parent c99c736 commit 27671ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/magicgui.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ function is called:
```{code-cell} python
:tags: [remove-output]
@magicgui(call_button='Make Points', n_points={'maximum': 200})
@magicgui(call_button='Make Points', n_points={'max': 200})
def make_points(n_points=40) -> napari.types.LayerDataTuple:
data = 500 * np.random.rand(n_points, 2)
return (data, {'name': 'My Points'}, 'points')
Expand Down

0 comments on commit 27671ea

Please sign in to comment.