Skip to content

Commit

Permalink
Merge pull request #406 from pya/master
Browse files Browse the repository at this point in the history
Additional changes for PR #404
  • Loading branch information
GaelVaroquaux authored Oct 28, 2018
2 parents 9d777b5 + c0ba606 commit ca1a5d1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
plt.imshow(-distance, interpolation='nearest')
plt.axis('off')
plt.subplot(133)
plt.imshow(labels, cmap='spectral', interpolation='nearest')
plt.imshow(labels, cmap='nipy_spectral', interpolation='nearest')
plt.axis('off')

plt.subplots_adjust(hspace=0.01, wspace=0.01, top=1, bottom=0, left=0,
Expand Down
4 changes: 2 additions & 2 deletions packages/scikit-image/examples/plot_labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
plt.imshow(blobs, cmap='gray')
plt.axis('off')
plt.subplot(132)
plt.imshow(all_labels, cmap='spectral')
plt.imshow(all_labels, cmap='nipy_spectral')
plt.axis('off')
plt.subplot(133)
plt.imshow(blobs_labels, cmap='spectral')
plt.imshow(blobs_labels, cmap='nipy_spectral')
plt.axis('off')

plt.tight_layout()
Expand Down
4 changes: 2 additions & 2 deletions packages/scikit-image/examples/plot_segmentations.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
plt.axis('off')
plt.title('distance map')
plt.subplot(143)
plt.imshow(labels_ws, cmap='spectral', interpolation='nearest')
plt.imshow(labels_ws, cmap='nipy_spectral', interpolation='nearest')
plt.axis('off')
plt.title('watershed segmentation')
plt.subplot(144)
plt.imshow(labels_rw, cmap='spectral', interpolation='nearest')
plt.imshow(labels_rw, cmap='nipy_spectral', interpolation='nearest')
plt.axis('off')
plt.title('random walker segmentation')

Expand Down
2 changes: 1 addition & 1 deletion packages/scikit-image/examples/plot_sobel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
plt.imshow(text, cmap='gray', interpolation='nearest')
plt.axis('off')
plt.subplot(122)
plt.imshow(hsobel_text, cmap='spectral', interpolation='nearest')
plt.imshow(hsobel_text, cmap='nipy_spectral', interpolation='nearest')
plt.axis('off')
plt.tight_layout()
plt.show()

0 comments on commit ca1a5d1

Please sign in to comment.