Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:55

0001 #!/usr/bin/env python
0002 
0003 import pyvista as pv
0004 
0005 if __name__ == '__main__':
0006     sphere = pv.Sphere(start_theta=0, end_theta=150, start_phi=10, end_phi=120)
0007     pl = pv.Plotter()
0008     pl.add_text("pyvista sphere", position="upper_left")
0009     pl.add_mesh(sphere, opacity=0.7, show_edges=True, lighting=True)
0010     pl.show()