Skip to content

Commit fa69f24

Browse files
authored
Fix documentation typos and obsolete references (#670)
Fix documentation typos and obsolete references (pyvista#8709)
1 parent 94b772e commit fa69f24

5 files changed

Lines changed: 4 additions & 9 deletions

File tree

tutorial/02_mesh/README.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,6 @@ Note how this varies from assigning scalars to each point
238238
pl.add_mesh(other_cube, cmap='coolwarm')
239239
pl.show()
240240

241-
.. note::
242-
We use :func:`pyvista.PolyDataFilters.clean` to merge the faces of
243-
the cube since, by default, the cube is created with unmerged faces
244-
and duplicate points.
245-
246241

247242
Exercises
248243
---------

tutorial/02_mesh/exercises/e_read-file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# extensions are listed in an internal function:
2929
#
3030
# See https://docs.pyvista.org/api/readers/_autosummary/pyvista.get_reader#pyvista.get_reader
31-
help(pv.core.utilities.reader.get_reader)
31+
help(pv.get_reader)
3232

3333

3434
# %%

tutorial/02_mesh/solutions/e_read-file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
# %%
2727
# PyVista supports a wide variety of file formats. The supported file
2828
# extensions are listed in an internal function:
29-
help(pv.core.utilities.reader.get_reader)
29+
help(pv.get_reader)
3030

3131

3232
# %%

tutorial/04_filters/exercises/b_clipping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
#
106106
# This option is available for :func:`pyvista.DataSetFilters.clip`,
107107
# :func:`pyvista.DataSetFilters.clip_box`, and
108-
# :func:`pyvista.DataSetFilters.clip_sruface`, but not available when clipping
108+
# :func:`pyvista.DataSetFilters.clip_surface`, but not available when clipping
109109
# by scalar in :func:`pyvista.DataSetFilters.clip_scalar`.
110110

111111
# Input mesh

tutorial/04_filters/solutions/b_clipping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
#
108108
# This option is available for :func:`pyvista.DataSetFilters.clip`,
109109
# :func:`pyvista.DataSetFilters.clip_box`, and
110-
# :func:`pyvista.DataSetFilters.clip_sruface`, but not available when clipping
110+
# :func:`pyvista.DataSetFilters.clip_surface`, but not available when clipping
111111
# by scalar in :func:`pyvista.DataSetFilters.clip_scalar`.
112112

113113
# Input mesh

0 commit comments

Comments
 (0)