e7d45769830a0e8908c75b1623d4e91cbec48e38,geomstats/visualization.py,Sphere,draw_points,#Sphere#Any#Any#,178

Before Change


            points = self.points

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

After Change


        if points is None:
            points = self.points
        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)

        for i_point, point in enumerate(points):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


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: 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: