Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e776ce7

Browse filesBrowse files
s7726rcomer
authored andcommitted
Add Returns documentation to to_jshtml function
1 parent cb9cf3b commit e776ce7
Copy full SHA for e776ce7

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎lib/matplotlib/animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/animation.py
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,6 +1311,12 @@ def to_jshtml(self, fps=None, embed_frames=True, default_mode=None):
13111311
What to do when the animation ends. Must be one of ``{'loop',
13121312
'once', 'reflect'}``. Defaults to ``'loop'`` if the *repeat*
13131313
parameter is True, otherwise ``'once'``.
1314+
1315+
Returns
1316+
-------
1317+
str
1318+
An HTML representation of the animation embedded as a js object as
1319+
produced with the ``HTMLWriter``.
13141320
"""
13151321
if fps is None and hasattr(self, '_interval'):
13161322
# Convert interval in ms to frames per second

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.