40574b79ef4430883c4e0f4c6ba1b2d17207698f,geomstats/visualization.py,Sphere,draw_points,#Sphere#Any#Any#,178

Before Change


        points_x = [point[0] for point in points]
        points_y = [point[1] for point in points]
        points_z = [point[2] for point in points]
        ax.scatter(points_x, points_y, points_z, **scatter_kwargs)

    def fibonnaci_points(self, n_points=16000):
        Spherical Fibonacci point sets yield nearly uniform point
        distributions on the unit sphere.

After Change



        for i_point, point in enumerate(points):
            ax.scatter(point[0], point[1], point[2], **scatter_kwargs)
            if "label" in scatter_kwargs:
                ax.text(
                    point[0], point[1], point[2],
                    scatter_kwargs["label"][i_point],
                    size=10, zorder=1, color="k")

    def fibonnaci_points(self, n_points=16000):
        Spherical Fibonacci point sets yield nearly uniform point
        distributions on the unit sphere.
        x_vals = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: geomstats/geomstats
Commit Name: 40574b79ef4430883c4e0f4c6ba1b2d17207698f
Time: 2020-05-11
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name: Sphere
Method Name: draw_points


Project Name: geomstats/geomstats
Commit Name: e7d45769830a0e8908c75b1623d4e91cbec48e38
Time: 2020-05-11
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name: Sphere
Method Name: draw_points


Project Name: SheffieldML/GPy
Commit Name: 1a135ca9f7d98f63a3183895f27021308da4d9be
Time: 2013-01-11
Author: james.hensman@gmail.com
File Name: grid_parameters.py
Class Name:
Method Name:


Project Name: AlexEMG/DeepLabCut
Commit Name: a3ff917fc04ae0199b051b1d0cc2f75c3700191a
Time: 2020-09-01
Author: 30733203+jeylau@users.noreply.github.com
File Name: deeplabcut/utils/visualization.py
Class Name:
Method Name: make_labeled_images_from_dataframe


Project Name: biotite-dev/biotite
Commit Name: dc0f01addc3c31a16ac98688b65a5403730fa33b
Time: 2020-12-04
Author: patrick.kunzm@gmail.com
File Name: doc/examples/scripts/structure/peoe_visualization.py
Class Name:
Method Name: