diff --git a/docs/guides/magicgui.md b/docs/guides/magicgui.md index 3fc09e893..97afafbe1 100644 --- a/docs/guides/magicgui.md +++ b/docs/guides/magicgui.md @@ -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')