04310efe19ec589234c1b9b1f3397e2418c6ff93,doc/examples/segmentation/plot_watershed.py,,,#,36

Before Change


ax2.set_title("Separated objects")

for ax in axes:
    ax.axis("off")

fig.tight_layout()
plt.show()

After Change



fig, axes = plt.subplots(ncols=3, figsize=(9, 3), sharex=True, sharey=True,
                         subplot_kw={"adjustable": "box-forced"})
ax = axes.ravel()

ax[0].imshow(image, cmap=plt.cm.gray, interpolation="nearest")
ax[0].set_title("Overlapping objects")
ax[1].imshow(-distance, cmap=plt.cm.gray, interpolation="nearest")
ax[1].set_title("Distances")
ax[2].imshow(labels, cmap=plt.cm.spectral, interpolation="nearest")
ax[2].set_title("Separated objects")

for a in ax:
    a.set_axis_off()

fig.tight_layout()
plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scikit-image/scikit-image
Commit Name: 04310efe19ec589234c1b9b1f3397e2418c6ff93
Time: 2016-09-04
Author: multicolor.mood@gmail.com
File Name: doc/examples/segmentation/plot_watershed.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: 958f8f41da4f00c2e9c8d1be0616fcc59c5ee3f0
Time: 2017-10-21
Author: peter@goldsborough.me
File Name: doc/examples/edges/plot_random_shapes.py
Class Name:
Method Name:


Project Name: scikit-learn/scikit-learn
Commit Name: e650a207efc9dd33556b1b9678b043f73a18aecb
Time: 2019-11-14
Author: thomasjpfan@gmail.com
File Name: examples/classification/plot_digits_classification.py
Class Name:
Method Name: