Skip to content

Commit 3d41501

Browse files
committed
updated scatter docstring to link to VertexOnlyMesh
1 parent d59eed8 commit 3d41501

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

firedrake/pyplot/mpl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ def _get_collection_types(gdim, tdim):
8585

8686
@PETSc.Log.EventDecorator()
8787
def scatter(vom: MeshGeometry | Function, axes: matplotlib.axes.Axes | None = None, **kwargs) -> matplotlib.collections.PathCollection:
88-
r"""Plot a 2D or 3D VertexOnlyMesh as a scatter plot.
88+
r"""Plot a 2D or 3D :func:`.VertexOnlyMesh` as a scatter plot.
8989
9090
Parameters
9191
----------
9292
vom
93-
A ``VertexOnlyMesh`` or a scalar-valued :class:`~.Function` defined on one.
93+
A :func:`.VertexOnlyMesh` or a scalar-valued :class:`~.Function` defined on one.
9494
If a :class:`~.Function` is provided, its values are used to colour the points.
9595
axes
9696
The axes on which to plot. If not provided, the current active axes are used.

0 commit comments

Comments
 (0)