increased default glyph resolution to pyvista default
This commit is contained in:
parent
c73368781b
commit
eeb14ab818
|
|
@ -131,7 +131,7 @@ class Particles:
|
||||||
mesh[key] = self.attr[key]
|
mesh[key] = self.attr[key]
|
||||||
return mesh
|
return mesh
|
||||||
|
|
||||||
def glyph(self,theta_resolution=10,phi_resolution=10,deep=False):
|
def glyph(self,theta_resolution=30,phi_resolution=30,deep=False):
|
||||||
import pyvista as pv
|
import pyvista as pv
|
||||||
assert self.has_attribute('r'), "Attribute 'r' required."
|
assert self.has_attribute('r'), "Attribute 'r' required."
|
||||||
geom = pv.Sphere(radius=1,theta_resolution=theta_resolution,
|
geom = pv.Sphere(radius=1,theta_resolution=theta_resolution,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue