Skip to content

Commit 5008a50

Browse files
committed
Square is deprecated.
1 parent 10c4728 commit 5008a50

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ SOURCES.txt
33
dependency_links.txt
44
requires.txt
55
top_level.txt
6-
6+
.coverage

ridge_map/ridge_map.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import matplotlib.pyplot as plt
99
import numpy as np
1010
from skimage.filters import rank
11-
from skimage.morphology import square
11+
from skimage.morphology import footprint_rectangle
1212
from skimage.util import img_as_ubyte
1313
from scipy.ndimage import rotate
1414

@@ -337,7 +337,6 @@ def plot_map(
337337
-------
338338
matplotlib.Axes
339339
"""
340-
341340
if kind not in {"gradient", "elevation"}:
342341
raise TypeError("Argument `kind` must be one of 'gradient' or 'elevation'")
343342
if values is None:

0 commit comments

Comments
 (0)