Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé
Classe « Animation »

Méthode matplotlib.animation.Animation.to_jshtml

Signature de la méthode to_jshtml

def to_jshtml(self, fps=None, embed_frames=True, default_mode=None) 

Description

help(Animation.to_jshtml)

Generate HTML representation of the animation.

Parameters
----------
fps : int, optional
    Movie frame rate (per second). If not set, the frame rate from
    the animation's frame interval.
embed_frames : bool, optional
default_mode : str, optional
    What to do when the animation ends. Must be one of ``{'loop',
    'once', 'reflect'}``. Defaults to ``'loop'`` if the *repeat*
    parameter is True, otherwise ``'once'``.

Returns
-------
str
    An HTML representation of the animation embedded as a js object as
    produced with the `.HTMLWriter`.


Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les fondamentaux
Voir le programme détaillé