mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-06 13:30:21 +08:00
changed f to fig
This commit is contained in:
@@ -26,7 +26,7 @@ image = rotate(image, angle=15, order=0)
|
||||
label_img = label(image)
|
||||
regions = regionprops(label_img)
|
||||
|
||||
f, ax = plt.subplots()
|
||||
fig, ax = plt.subplots()
|
||||
ax.imshow(image, cmap=plt.cm.gray)
|
||||
|
||||
for props in regions:
|
||||
|
||||
Reference in New Issue
Block a user