added missing function argument

This commit is contained in:
Michael Stumpf 2021-07-26 12:58:44 +02:00
parent 5e5a19dd06
commit 5466f67c1c
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ def add_domain_bounds(plotter,bounds,color='black',line_width=2.):
plotter.add_mesh(domain,color=color,style='wireframe',line_width=line_width,opacity=0.999,lighting=False)
return
def enable_shadows_hacked():
def enable_shadows_hacked(pl):
# Reimplements pyvistas "enable_shadows()" method to also render translucent
# objects (without shadows). Can be used to add objects which do not throw
# shadows (but may look weird) by setting their opacity to a value close to 1,