mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-03 12:50:25 +08:00
Explicitly define colormap
This commit is contained in:
1 parent
c9291718f9
commit
f360316f17
1 file changed
+1
-1
@@ -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