From 9d2d1e8bb3792f9d2f7682086d742c2cdcafaf38 Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Fri, 29 Dec 2023 16:14:56 +0900 Subject: [PATCH] Remove docstring which is checking PyVista output (#37) --- src/pvgmsh/__init__.py | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/src/pvgmsh/__init__.py b/src/pvgmsh/__init__.py index 841b5304..7c92c9d8 100644 --- a/src/pvgmsh/__init__.py +++ b/src/pvgmsh/__init__.py @@ -47,27 +47,9 @@ def frontal_delaunay_2d( >>> import pyvista as pv >>> import pvgmsh as pm + >>> edge_source = pv.Polygon(n_sides=4, radius=8, fill=False) >>> edge_source = edge_source.rotate_z(45, inplace=False) - >>> edge_source - PolyData (...) - N Cells: 1 - N Points: 4 - N Strips: 0 - X Bounds: -5.657e+00, 5.657e+00 - Y Bounds: -5.657e+00, 5.657e+00 - Z Bounds: 0.000e+00, 0.000e+00 - N Arrays: 0 - >>> edge_source.points - pyvista_ndarray([[-5.656854, 5.656854, 0. ], - [ 5.656854, 5.656854, 0. ], - [ 5.656854, -5.656854, 0. ], - [-5.656854, -5.656854, 0. ]], dtype=float32) - >>> edge_source.faces - array([], dtype=int64) - >>> edge_source.lines - array([5, 0, 1, 2, 3, 0]) - >>> mesh = pm.frontal_delaunay_2d(edge_source, target_size=1.0)