mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-07 10:40:36 +08:00
Explicitly define colormap
This commit is contained in:
@@ -40,7 +40,7 @@ borders = np.logical_xor(bw, cleared)
|
||||
label_image[borders] = -1
|
||||
|
||||
fig, ax = plt.subplots(ncols=1, nrows=1, figsize=(6, 6))
|
||||
ax.imshow(label_image)
|
||||
ax.imshow(label_image, cmap='jet')
|
||||
|
||||
for region in regionprops(label_image, ['Area', 'BoundingBox']):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user