BUG: update the edge modes in the example to match the current naming convention

This commit is contained in:
Gregory R. Lee
2015-08-13 23:39:56 -04:00
parent 81ea7a6e34
commit 81764d8ed5
+1 -1
View File
@@ -19,7 +19,7 @@ img[:2, :2] += 1
img[:1, :1] += 2
img[8, 8] = 4
modes = ['constant', 'nearest', 'wrap', 'reflect', 'mirror']
modes = ['constant', 'edge', 'wrap', 'reflect', 'symmetric']
fig, axes = plt.subplots(1, 5, figsize=(15, 5))
for n, mode in enumerate(modes):
img_extended = extend_image(img, pad=img.shape[0], mode=mode)