958f8f41da4f00c2e9c8d1be0616fcc59c5ee3f0,doc/examples/edges/plot_random_shapes.py,,,#,15

Before Change


    axis.tick_params(bottom="off", top="off", left="off", right="off")
    axis.set_xticklabels([])
    axis.set_yticklabels([])
    plt.imshow(i)
plt.show()

// These shapes are well suited to test segmentation algorithms. Often, we want
// shapes to overlap to test the algorithm. This is also possible:

After Change


image4, _ = random_shapes((128, 128), max_shapes=10, min_pixel_intensity=0)

fig, axes = plt.subplots(2, 2, figsize=(10, 10))
for ax, image in zip(axes.ravel(), [image1, image2, image3, image4]):
    ax.imshow(image)
    ax.set_axis_off()

// These shapes are well suited to test segmentation algorithms. Often, we want
// shapes to overlap to test the algorithm. This is also possible:
image, _ = random_shapes(
    (128, 128), min_shapes=5, max_shapes=10, min_size=20, allow_overlap=True)
fig, axis = plt.subplots()
axis.imshow(image)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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: matplotlib/matplotlib
Commit Name: d1ae68571b20c86eda94f74dc035b5c22cc8e5bd
Time: 2018-09-02
Author: 2836374+timhoffm@users.noreply.github.com
File Name: examples/axes_grid1/simple_axesgrid.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 869bd95b3d8eb4e333f303a7fd25cb84f1b66c6f
Time: 2017-05-29
Author: quantum.analyst@gmail.com
File Name: examples/images_contours_and_fields/image_demo.py
Class Name:
Method Name: