Skip to content

Commit

Permalink
Fix execution of magicgui guide
Browse files Browse the repository at this point in the history
  • Loading branch information
melissawm committed Jan 8, 2024
1 parent 9f0d074 commit 7dfeb42
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 7dfeb42

Please sign in to comment.