Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Gigon Bae <gigony@gmail.com>
  • Loading branch information
grlee77 and gigony authored Jan 10, 2025
1 parent b6b0a6b commit c9faa55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/cucim/src/cucim/skimage/filters/_gabor.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def gabor_kernel(
>>> # more ripples (equivalent to increasing the size of the
>>> # Gaussian spread)
>>> gk = gabor_kernel(frequency=0.2, bandwidth=0.1)
>>> fig, ax = plt.suplots() # doctest: +SKIP
>>> fig, ax = plt.subplots() # doctest: +SKIP
>>> ax.imshow(cp.asnumpy(gk.real)) # doctest: +SKIP
>>> plt.show() # doctest: +SKIP
""" # noqa
Expand Down Expand Up @@ -214,7 +214,7 @@ def gabor(
>>> image = cp.array(data.coins())
>>> # detecting edges in a coin image
>>> filt_real, filt_imag = gabor(image, frequency=0.6)
>>> fix, ax = plt.subplots() # doctest: +SKIP
>>> fig, ax = plt.subplots() # doctest: +SKIP
>>> ax.imshow(cp.asnumpy(filt_real)) # doctest: +SKIP
>>> plt.show() # doctest: +SKIP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def assert_decomposition_equal(actual, desired):
assert a[1] == d[1]


class Test_footprint_rectangule:
class Test_footprint_rectangle:
@pytest.mark.parametrize("i", [0, 1, 2, 3, 4])
@pytest.mark.parametrize("j", [0, 1, 2, 3, 4])
def test_rectangle(self, i, j):
Expand Down

0 comments on commit c9faa55

Please sign in to comment.