@@ -81,8 +81,8 @@ def valid_field_var(var: str) -> bool:
8181 Args:
8282 var: the variable name to be checked.
8383 Returns:
84- whether the var is defined in :data:`~stagpy. phyvars.FIELD` or
85- :data:`~stagpy. phyvars.FIELD_EXTRA`.
84+ whether the var is defined in ` phyvars.FIELD` or
85+ ` phyvars.FIELD_EXTRA`.
8686 """
8787 return var in phyvars .FIELD or var in phyvars .FIELD_EXTRA
8888
@@ -95,7 +95,8 @@ def get_meshes_fld(
9595 Only works properly in 2D geometry and 3D cartesian.
9696
9797 Args:
98- step: a :class:`~stagpy._step.Step` of a StagyyData instance.
98+ conf: configuration.
99+ step: a `Step` of a `StagyyData` instance.
99100 var: scalar field name.
100101 walls: consider the walls as the relevant mesh.
101102 Returns:
@@ -135,7 +136,8 @@ def get_meshes_vec(
135136 Only works properly in 2D geometry and 3D cartesian.
136137
137138 Args:
138- step: a :class:`~stagpy._step.Step` of a StagyyData instance.
139+ conf: configuration.
140+ step: a `Step` of a `StagyyData` instance.
139141 var: vector field name.
140142 Returns:
141143 tuple (xmesh, ymesh, fldx, fldy). 2D arrays containing respectively
@@ -178,21 +180,21 @@ def plot_scalar(
178180 """Plot scalar field.
179181
180182 Args:
181- step: a :class:`~stagpy._step. Step` of a StagyyData instance.
183+ step: a ` Step` of a ` StagyyData` instance.
182184 var: the scalar field name.
183- field: if not None, it is plotted instead of step.fields[var]. This is
185+ field: if not None, it is plotted instead of ` step.fields[var]` . This is
184186 useful to plot a masked or rescaled array.
185- axis: the :class: `matplotlib.axes.Axes` object where the field should
187+ axis: the `matplotlib.axes.Axes` object where the field should
186188 be plotted. If set to None, a new figure with one subplot is
187189 created.
188- extra: options that will be passed on to
189- :func: `matplotlib.axes.Axes.pcolormesh`.
190+ conf: configuration.
191+ extra: options that will be passed on to `matplotlib.axes.Axes.pcolormesh`.
190192 Returns:
191193 fig, axis, surf, cbar
192- handles to various :mod: `matplotlib` objects, respectively the
194+ handles to various `matplotlib` objects, respectively the
193195 figure, the axis, the surface returned by
194- :func:`~matplotlib.axes. Axes.pcolormesh`, and the colorbar returned
195- by :func: `matplotlib.pyplot.colorbar`.
196+ ` Axes.pcolormesh`, and the colorbar returned
197+ by `matplotlib.pyplot.colorbar`.
196198 """
197199 if conf is None :
198200 conf = Config .default_ ()
@@ -271,14 +273,14 @@ def plot_iso(
271273 """Plot isocontours of scalar field.
272274
273275 Args:
274- axis: the :class: `matplotlib.axes.Axes` of an existing matplotlib
276+ axis: the `matplotlib.axes.Axes` of an existing matplotlib
275277 figure where the isocontours should be plotted.
276- step: a :class:`~stagpy._step. Step` of a StagyyData instance.
278+ step: a ` Step` of a ` StagyyData` instance.
277279 var: the scalar field name.
278- field: if not None, it is plotted instead of step.fields[var]. This is
280+ field: if not None, it is plotted instead of ` step.fields[var]` . This is
279281 useful to plot a masked or rescaled array.
280- extra: options that will be passed on to
281- :func:`matplotlib.axes. Axes.contour`.
282+ conf: configuration.
283+ extra: options that will be passed on to ` Axes.contour`.
282284 """
283285 if conf is None :
284286 conf = Config .default_ ()
@@ -311,8 +313,9 @@ def plot_vec(
311313 Args:
312314 axis: the :class:`matplotlib.axes.Axes` of an existing matplotlib
313315 figure where the vector field should be plotted.
314- step: a :class:`~stagpy._step. Step` of a StagyyData instance.
316+ step: a ` Step` of a ` StagyyData` instance.
315317 var: the vector field name.
318+ conf: configuration.
316319 """
317320 if conf is None :
318321 conf = Config .default_ ()
0 commit comments