From 5466f67c1cbfe801c258abb93d76925888fb96d0 Mon Sep 17 00:00:00 2001 From: Michael Stumpf Date: Mon, 26 Jul 2021 12:58:44 +0200 Subject: [PATCH] added missing function argument --- visu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/visu.py b/visu.py index d836ed7..cf0306f 100644 --- a/visu.py +++ b/visu.py @@ -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,