41d9e7e5442d0400d98c18b4ca56ae606f08f9e3,geomstats/visualization.py,,plot,#Any#Any#Any#,133

Before Change


                    "The plot function is not implemented"
                    " for the space {}.".format(space))

        ax = plt.subplot(111, projection="3d", aspect="equal")
        plt.setp(ax,
                 xlim=(-ax_s, ax_s),
                 ylim=(-ax_s, ax_s),
                 zlim=(-ax_s, ax_s),
                 xlabel="X", ylabel="Y", zlabel="Z")

    if space in ("SO3_GROUP", "SE3_GROUP"):
        trihedrons = convert_to_trihedron(points, space=space)
        for t in trihedrons:

After Change


                    "The plot function is not implemented"
                    " for the space {}.".format(space))

        if space is "H2":
            ax = plt.subplot(111, aspect="equal")
            plt.setp(ax,
                     xlim=(-ax_s, ax_s),
                     ylim=(-ax_s, ax_s),
                     xlabel="X", ylabel="Y")

        else:
            ax = plt.subplot(111, projection="3d", aspect="equal")
            plt.setp(ax,
                     xlim=(-ax_s, ax_s),
                     ylim=(-ax_s, ax_s),
                     zlim=(-ax_s, ax_s),
                     xlabel="X", ylabel="Y", zlabel="Z")

    if space in ("SO3_GROUP", "SE3_GROUP"):
        trihedrons = convert_to_trihedron(points, space=space)
        for t in trihedrons:
            t.draw(ax, **point_draw_kwargs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 15

Instances


Project Name: geomstats/geomstats
Commit Name: 41d9e7e5442d0400d98c18b4ca56ae606f08f9e3
Time: 2018-02-20
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name:
Method Name: plot


Project Name: geomstats/geomstats
Commit Name: 41d9e7e5442d0400d98c18b4ca56ae606f08f9e3
Time: 2018-02-20
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name:
Method Name: plot


Project Name: geomstats/geomstats
Commit Name: b9954fa0c886c36d1c5db97520d074eabf171b75
Time: 2018-02-18
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name:
Method Name: plot


Project Name: geomstats/geomstats
Commit Name: f5813466fb9d202def50f783c0fdeeb164da50d6
Time: 2018-02-21
Author: ninamio78@gmail.com
File Name: geomstats/visualization.py
Class Name:
Method Name: plot