Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fps now passed on and note added to docstring #37

Merged
merged 2 commits into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ansys/mapdl/reader/rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,9 @@ def animate_nodal_solution_set(self, rnums=None, comp='norm',

fps : int, optional
Frames per second. Defaults to 20 and limited to hardware
capabilities and model density.
capabilities and model density. Carries over to movies
created by providing the ``movie_filename`` argument,
but *not* to gifs.

kwargs : optional keyword arguments, optional
See help(pyvista.Plot) for additional keyword arguments.
Expand Down Expand Up @@ -2834,7 +2836,7 @@ def _animate_point_scalars(self, scalars, grid=None,
if movie_filename.strip()[-3:] == 'gif':
plotter.open_gif(movie_filename)
else:
plotter.open_movie(movie_filename)
plotter.open_movie(movie_filename, framerate=fps)

# add table
if text is not None:
Expand Down
1 change: 1 addition & 0 deletions requirements_build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ setuptools>=41.0.0
wheel>=0.33.0
numpy<1.20.0
cython==0.29.21
matplotlib