mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-13 11:45:18 +08:00
changed f to fig
This commit is contained in:
@@ -29,7 +29,7 @@ image[230:280, 60:110] = 1
|
||||
coords = corner_peaks(corner_harris(image), min_distance=5)
|
||||
coords_subpix = corner_subpix(image, coords, window_size=13)
|
||||
|
||||
f, ax = plt.subplots()
|
||||
fig, ax = plt.subplots()
|
||||
ax.imshow(image, interpolation='nearest', cmap=plt.cm.gray)
|
||||
ax.plot(coords[:, 1], coords[:, 0], '.b', markersize=3)
|
||||
ax.plot(coords_subpix[:, 1], coords_subpix[:, 0], '+r', markersize=15)
|
||||
|
||||
Reference in New Issue
Block a user