1815994bc3091e5edcf07adb516c690dd3aa3d4c,scipy/spatial/_plotutils.py,,convex_hull_plot_2d,#Any#Any#,72

Before Change



    ax.plot(hull.points[:,0], hull.points[:,1], "o")
    for simplex in hull.simplices:
        ax.plot(hull.points[simplex,0], hull.points[simplex,1], "k-")

    _adjust_bounds(ax, hull.points)

    return ax.figure

After Change


    ax.plot(hull.points[:,0], hull.points[:,1], "o")
    line_segments = []
    for simplex in hull.simplices:
        line_segments.append([(x, y) for x, y in hull.points[simplex]])
    ax.add_collection(LineCollection(line_segments,
                                     colors = "k",
                                     linestyle = "solid"))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: scipy/scipy
Commit Name: 1815994bc3091e5edcf07adb516c690dd3aa3d4c
Time: 2015-07-16
Author: gregory.lee@cchmc.org
File Name: scipy/spatial/_plotutils.py
Class Name:
Method Name: convex_hull_plot_2d


Project Name: richzhang/colorization-pytorch
Commit Name: 1215d2390c0ef900337366e7a89e8d21e4bfd592
Time: 2018-08-25
Author: rzhang88@gmail.com
File Name: test_sweep.py
Class Name:
Method Name:


Project Name: scipy/scipy
Commit Name: 1815994bc3091e5edcf07adb516c690dd3aa3d4c
Time: 2015-07-16
Author: gregory.lee@cchmc.org
File Name: scipy/spatial/_plotutils.py
Class Name:
Method Name: voronoi_plot_2d