Skip to content

Commit 78c85a9

Browse files
authored
Update README.md
1 parent 6ad1c9c commit 78c85a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,20 @@ We can also generate a 3D mesh.
7979

8080
```python
8181
source = pv.Cube()
82-
delaunay_3d = sg.Delaunay3D(edge_source=source, target_sizes=0.2)
82+
alg = sg.Delaunay3D(edge_source=source, target_sizes=0.2)
8383
```
8484

8585
```python
8686
plotter = pv.Plotter()
8787
_ = plotter.add_mesh(
88-
delaunay_3d.mesh,
88+
alg.mesh,
8989
show_edges=True,
9090
line_width=1,
9191
color="aliceblue",
9292
lighting=False,
9393
edge_color="gray",
9494
)
95-
_ = plotter.add_mesh(edge_source.extract_all_edges(), line_width=4, color="gray")
95+
_ = plotter.add_mesh(source.extract_all_edges(), line_width=4, color="gray")
9696
_ = plotter.add_box_axes()
9797
plotter.show()
9898
```

0 commit comments

Comments
 (0)