Skip to content

Commit 54de50f

Browse files
style(pre-commit.ci): auto fixes [...]
1 parent bac3dad commit 54de50f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/examples/napari/napari_parameter_sweep.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# - 'auto_call' tells magicgui to call the function when a parameter changes
4949
# - we use 'widget_type' to override the default "float" widget on sigma,
5050
# and provide a maximum valid value.
51-
# - we contstrain the possible choices for 'mode'
51+
# - we constrain the possible choices for 'mode'
5252
@magicgui(
5353
auto_call=True,
5454
sigma={"widget_type": "FloatSlider", "max": 6},
@@ -173,7 +173,7 @@ def do_something_with_result(result): ...
173173
# - 'auto_call' tells magicgui to call the function when a parameter changes
174174
# - we use 'widget_type' to override the default "float" widget on sigma,
175175
# and provide a maximum valid value.
176-
# - we contstrain the possible choices for 'mode'
176+
# - we constrain the possible choices for 'mode'
177177
@magicgui(
178178
auto_call=True,
179179
sigma={"widget_type": "FloatSlider", "max": 6},

docs/gallery_conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def qt_window_scraper(block: tuple, script: GalleryScript) -> str:
2525
Returns
2626
-------
2727
md : str
28-
The ReSTructuredText that will be rendered to HTML containing
28+
The ReSStructuredText that will be rendered to HTML containing
2929
the images. This is often produced by :func:`figure_md_or_html`.
3030
"""
3131
imgpath_iter = script.run_vars.image_path_iterator
@@ -61,7 +61,7 @@ def napari_image_scraper(block, script: GalleryScript):
6161
Returns
6262
-------
6363
md : str
64-
The ReSTructuredText that will be rendered to HTML containing
64+
The ReSStructuredText that will be rendered to HTML containing
6565
the images. This is often produced by :func:`figure_md_or_html`.
6666
"""
6767
viewer = napari.current_viewer()

0 commit comments

Comments
 (0)