mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
DOC: simplify the code (Thx Stefan)
This commit is contained in:
1 parent
efcd8153b5
commit
05458457f1
1 file changed
+1
-1
@@ -37,7 +37,7 @@ ax2.set_title('Maximum filter')
|
||||
|
||||
ax3.imshow(im, cmap=plt.cm.gray)
|
||||
ax3.autoscale(False)
|
||||
ax3.plot([p[1] for p in coordinates], [p[0] for p in coordinates], 'r.')
|
||||
ax3.plot(coordinates[:, 1], coordinates[:, 0], 'r.')
|
||||
ax3.axis('off')
|
||||
ax3.set_title('Peak local max')
|
||||
|
||||
|
||||
Reference in new issue
Block a user