mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 10:53:08 +08:00
Thickened contours so that they are more visible in gallery thumbnail.
This commit is contained in:
@@ -59,8 +59,8 @@ if new_scipy:
|
||||
ax = fig.add_subplot(111)
|
||||
plt.gray()
|
||||
ax.imshow(img)
|
||||
ax.plot(init[:, 0], init[:, 1], '--r')
|
||||
ax.plot(snake[:, 0], snake[:, 1], '-b')
|
||||
ax.plot(init[:, 0], init[:, 1], '--r', lw=3)
|
||||
ax.plot(snake[:, 0], snake[:, 1], '-b', lw=3)
|
||||
ax.set_xticks([]), ax.set_yticks([])
|
||||
ax.axis([0, img.shape[1], img.shape[0], 0])
|
||||
|
||||
@@ -87,8 +87,8 @@ if new_scipy:
|
||||
ax = fig.add_subplot(111)
|
||||
plt.gray()
|
||||
ax.imshow(img)
|
||||
ax.plot(init[:, 0], init[:, 1], '--r')
|
||||
ax.plot(snake[:, 0], snake[:, 1], '-b')
|
||||
ax.plot(init[:, 0], init[:, 1], '--r', lw=3)
|
||||
ax.plot(snake[:, 0], snake[:, 1], '-b', lw=3)
|
||||
ax.set_xticks([]), ax.set_yticks([])
|
||||
ax.axis([0, img.shape[1], img.shape[0], 0])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user