Skip to content

Commit

Permalink
Delete equal aspects
Browse files Browse the repository at this point in the history
  • Loading branch information
ninamiolane committed Jun 16, 2019
1 parent 3c4a9cc commit 7ee3c21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/plot_quantization_s2.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ def main():
)

plt.figure(0)
ax = plt.subplot(111, projection="3d", aspect="equal")
ax = plt.subplot(111, projection="3d")
visualization.plot(points=centers, ax=ax, space='S2', c='r')
plt.show()

plt.figure(1)
ax = plt.subplot(111, projection="3d", aspect="equal")
ax = plt.subplot(111, projection="3d")
sphere = visualization.Sphere()
sphere.draw(ax=ax)
for i in range(N_CENTERS):
Expand Down
2 changes: 1 addition & 1 deletion examples/tangent_pca_so3.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def main():
ax_var.set_xlabel('Number of Principal Components')
ax_var.plot(xticks, explained_variances)

ax = fig.add_subplot(133, projection="3d", aspect="equal")
ax = fig.add_subplot(133, projection="3d")
plt.setp(ax,
xlim=(-1, 1), ylim=(-1, 1), zlim=(-1, 1),
xlabel="X", ylabel="Y", zlabel="Z")
Expand Down

0 comments on commit 7ee3c21

Please sign in to comment.