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
"""Animate a list of frames from a simulation result list.
376
376
This function creates a 3D animation of the species concentrations over time. Each frame will be a 3D plot of the concentration of a single species.
377
377
This function is a wrapper around the facet_grid_animate_3D function.
378
378
The animation will be saved to the specified filename.
379
379
380
380
Args:
381
-
filename (str | Path): filename to save the animation to. Uses mp4 format.
381
+
filename (Unioin[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
-
str | Path: path to the saved animation .mp4 file
393
+
Unioin[str, Path]: path to the saved animation .mp4 file
0 commit comments