From c32d94ed856811930621821cc38efcb63860491f Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Mon, 29 Jul 2024 01:38:42 -0700 Subject: [PATCH] fix typos in arg names in example --- gridlock/examples/ex0.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gridlock/examples/ex0.py b/gridlock/examples/ex0.py index 59756bc..7dd4355 100644 --- a/gridlock/examples/ex0.py +++ b/gridlock/examples/ex0.py @@ -37,8 +37,8 @@ if __name__ == '__main__': # eg.draw_slab(Direction.z, 0, 10, 2) eg.save('/home/jan/Desktop/test.pickle') eg.draw_cylinder(egc, surface_normal=2, center=[0, 0, 0], radius=2.0, - thickness=10, num_poitns=1000, foreground=1) + thickness=10, num_points=1000, foreground=1) eg.draw_extrude_rectangle(egc, rectangle=[[-2, 1, -1], [0, 1, 1]], - direction=1, poalarity=+1, distance=5) + direction=1, polarity=+1, distance=5) eg.visualize_slice(egc, surface_normal=2, center=0, which_shifts=2) eg.visualize_isosurface(egc, which_shifts=2)