You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/sme_contrib/plot.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ def facet_grid_3D(
196
196
197
197
198
198
deffacet_grid_animate_3D(
199
-
filename: Unioin[str, Path],
199
+
filename: Union[str, Path],
200
200
data: list[dict[str, np.ndarray]],
201
201
plotfuncs: dict[str, Callable],
202
202
show_cmap: bool=False,
@@ -378,7 +378,7 @@ def concentrationsAnimate3D(
378
378
The animation will be saved to the specified filename.
379
379
380
380
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.
382
382
simulation_results (sme.SimulationResultList): a list of `SimulationResult` objects, i.e., a list of recorded frames of the simulations
383
383
species (list[str]): list of species to plot
384
384
show_cmap (bool, optional): Whether to show the colorbar on theplots or not. Defaults to False.
@@ -390,7 +390,7 @@ def concentrationsAnimate3D(
390
390
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.
391
391
392
392
Returns:
393
-
Unioin[str, Path]: path to the saved animation .mp4 file
393
+
Union[str, Path]: path to the saved animation .mp4 file
0 commit comments