class_docstr: Class used to plot points in Kendall shape space of 2D triangles.
  
  David G. Kendall showed that the shape space of 2D triangles is isometric
  to the 2-sphere of radius 1/2 [K1984]_. This class encodes this isometric
  representation, offering a 3D visualization of Kendall shape space of order
  (3,2), and its related objects.
  
  Attributes
  ----------
  points : list
      List of points to plot on the Kendall sphere.
  coords_type : str
      Type of the points. Can be either 'pre-shape' (for points in Kendall
      pre-shape space) or 'extrinsic' (for points given as 3x2 matrices).
      Optional, default: 'pre-shape'.
  pole : array-like, shape=[3,2]
      Equilateral triangle (north pole).
  ua : array-like, shape=[3,2]
      Tangent vector toward isosceles triangle at vertex A.
  ub : array-like, shape=[3,2]
      Tangent vector toward isosceles triangle at vertex B.
  na : array-like, shape=[3,2]
      Tangent vector such that (ua,na) is a positively oriented
      orthonormal basis of the horizontal space at north pole.
  
  References
  ----------
  .. [K1984] David G. Kendall. "Shape Manifolds, Procrustean Metrics, and
      Complex Projective Spaces." Bulletin of the London Mathematical
      Society, Volume 16, Issue 2, March 1984, Pages 81–121.
      https://doi.org/10.1112/blms/16.2.81
class_docstr_tok: ["Class","used","to","plot","points","in","Kendall","shape","space","of","2D","triangles",".","David","G.","Kendall","showed","that","the","shape","space","of","2D","triangles","is","isometric","to","the","2-sphere","of","radius","1\/2","[","K1984","]","_",".","This","class","encodes","this","isometric","representation",",","offering","a","3D","visualization","of","Kendall","shape","space","of","order","(","3,2",")",",","and","its","related","objects",".","Attributes","--","--","--","--","--","points",":","list","List","of","points","to","plot","on","the","Kendall","sphere",".","coords_type",":","str","Type","of","the","points",".","Can","be","either","'pre-shape","'","(","for","points","in","Kendall","pre-shape","space",")","or","'extrinsic","'","(","for","points","given","as","3x2","matrices",")",".","Optional",",","default",":","'pre-shape","'",".","pole",":","array-like",",","shape=","[","3,2","]","Equilateral","triangle","(","north","pole",")",".","ua",":","array-like",",","shape=","[","3,2","]","Tangent","vector","toward","isosceles","triangle","at","vertex","A.","ub",":","array-like",",","shape=","[","3,2","]","Tangent","vector","toward","isosceles","triangle","at","vertex","B.","na",":","array-like",",","shape=","[","3,2","]","Tangent","vector","such","that","(","ua",",","na",")","is","a","positively","oriented","orthonormal","basis","of","the","horizontal","space","at","north","pole",".","References","--","--","--","--","--","..","[","K1984","]","David","G.","Kendall",".","``","Shape","Manifolds",",","Procrustean","Metrics",",","and","Complex","Projective","Spaces",".","''","Bulletin","of","the","London","Mathematical","Society",",","Volume","16",",","Issue","2",",","March","1984",",","Pages","81\u2013121",".","https",":","\/\/doi.org\/10.1112\/blms\/16.2.81"]
docstr: Set azimuth and elevation angle.
docstr_tok: ["Set","azimuth","and","elevation","angle","."]
code: def set_view(self, elev=60.0, azim=0.0):
      """Set azimuth and elevation angle."""
      if self.ax is None:
          self.set_ax()
  
      self.elev, self.azim = gs.pi * elev / 180, gs.pi * azim / 180
      self.ax.view_init(elev, azim)
  
imports: import matplotlib.pyplot
  from mpl_toolkits.mplot3d import Axes3D
  import geomstats.backend
  from geomstats.geometry.matrices import Matrices
  from geomstats.geometry.pre_shape import PreShapeSpace
label_desc: Use image node_id 3 for calling the KendallSphere obj's underlying member method code with example usage: obj.set_view(elev, azim) without return types