From 7dfeb42dd05b68dc82bc5e5bc566011900761eb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melissa=20Weber=20Mendon=C3=A7a?= Date: Mon, 8 Jan 2024 16:48:51 -0300 Subject: [PATCH] Fix execution of magicgui guide --- docs/guides/magicgui.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')