Skip to content

Commit 1a23b49

Browse files
committed
correct typos
1 parent 7c1fc44 commit 1a23b49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sme_contrib/plot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def facet_grid_3D(
196196

197197

198198
def facet_grid_animate_3D(
199-
filename: Unioin[str, Path],
199+
filename: Union[str, Path],
200200
data: list[dict[str, np.ndarray]],
201201
plotfuncs: dict[str, Callable],
202202
show_cmap: bool = False,
@@ -378,7 +378,7 @@ def concentrationsAnimate3D(
378378
The animation will be saved to the specified filename.
379379
380380
Args:
381-
filename (Unioin[str, Path]): filename to save the animation to. Uses mp4 format.
381+
filename (Union[str, Path]): filename to save the animation to. Uses mp4 format.
382382
simulation_results (sme.SimulationResultList): a list of `SimulationResult` objects, i.e., a list of recorded frames of the simulations
383383
species (list[str]): list of species to plot
384384
show_cmap (bool, optional): Whether to show the colorbar on theplots or not. Defaults to False.
@@ -390,7 +390,7 @@ def concentrationsAnimate3D(
390390
plotfunc_kwargs (dict[str, Any], optional): Additional keyword arguments passed to plotter.add_mesh. Defaults to None. See [here](https://docs.pyvista.org/api/plotting/_autosummary/pyvista.plotter.add_mesh#) for more information.
391391
392392
Returns:
393-
Unioin[str, Path]: path to the saved animation .mp4 file
393+
Union[str, Path]: path to the saved animation .mp4 file
394394
"""
395395

396396
def plotfunc(

0 commit comments

Comments
 (0)