All Projects → jakevdp → Jsanimation

jakevdp / Jsanimation

Licence: bsd-2-clause
[DEPRECATED] An IPython notebook-compatible Javascript/HTML viewer for matplotlib animations

Projects that are alternatives of or similar to Jsanimation

Python Script Examples
This repository contains my python (3) script examples that focus on use cases for Network Engineers.
Stars: ✭ 233 (-1.69%)
Mutual labels:  jupyter-notebook
Jazzml
A (very incomplete) project that combines machine learning with music.
Stars: ✭ 235 (-0.84%)
Mutual labels:  jupyter-notebook
Datasets
A collection of all my datasets
Stars: ✭ 236 (-0.42%)
Mutual labels:  jupyter-notebook
Lasio
Python library for reading and writing well data using Log ASCII Standard (LAS) files
Stars: ✭ 234 (-1.27%)
Mutual labels:  jupyter-notebook
Dlwpt Code
Code for the book Deep Learning with PyTorch by Eli Stevens, Luca Antiga, and Thomas Viehmann.
Stars: ✭ 3,054 (+1188.61%)
Mutual labels:  jupyter-notebook
Youtubeli
Github repo to upload demo files of youtube videos and linkedin
Stars: ✭ 234 (-1.27%)
Mutual labels:  jupyter-notebook
Rl learn
我的强化学习笔记和学习材料📖 still updating ... ...
Stars: ✭ 234 (-1.27%)
Mutual labels:  jupyter-notebook
Coursera deep learning
This something about deep learning on Coursera by Andrew Ng
Stars: ✭ 237 (+0%)
Mutual labels:  jupyter-notebook
Book
Deep Learning 101 with PaddlePaddle (『飞桨』深度学习框架入门教程)
Stars: ✭ 2,621 (+1005.91%)
Mutual labels:  jupyter-notebook
Nbviewer.js
Client side rendering of Jupyter notebooks
Stars: ✭ 235 (-0.84%)
Mutual labels:  jupyter-notebook
Drkg
A knowledge graph and a set of tools for drug repurposing
Stars: ✭ 231 (-2.53%)
Mutual labels:  jupyter-notebook
Deep learning examples
Examples of using deep learning in Bioinformatics
Stars: ✭ 234 (-1.27%)
Mutual labels:  jupyter-notebook
Aleph star
Reinforcement learning with A* and a deep heuristic
Stars: ✭ 235 (-0.84%)
Mutual labels:  jupyter-notebook
Pyschedule
pyschedule - resource scheduling in python
Stars: ✭ 232 (-2.11%)
Mutual labels:  jupyter-notebook
Keras Examples
Stars: ✭ 236 (-0.42%)
Mutual labels:  jupyter-notebook
Learning Pyspark
Code repository for Learning PySpark by Packt
Stars: ✭ 233 (-1.69%)
Mutual labels:  jupyter-notebook
Emnlp 2019 Papers
Statistics and Accepted paper list with arXiv link of EMNLP-IJCNLP 2019
Stars: ✭ 236 (-0.42%)
Mutual labels:  jupyter-notebook
Kitti tutorial
Tutorial for using Kitti dataset easily
Stars: ✭ 235 (-0.84%)
Mutual labels:  jupyter-notebook
Book deeplearning in pytorch source
Stars: ✭ 236 (-0.42%)
Mutual labels:  jupyter-notebook
Worldmodels
An implementation of the ideas from this paper https://arxiv.org/pdf/1803.10122.pdf
Stars: ✭ 236 (-0.42%)
Mutual labels:  jupyter-notebook

JSAnimation

NOTE: this package is part of matplotlib as of version 2.1. The code here is maintained only for historical purposes.

Copyright (c) 2013, Jake Vanderplas

License: BSD

This package implements an HTML/Javascript writer for Matplotlib animations. The result can be embedded in a web page, or an IPython notebook.

Example

See a rendered example: please note the browser requirements listedbelow.

Testing it Out

There are several scripts which demonstrate this. make_animation.py creates a basic animation, with the frame data embedded within the HTML document. Run this using

python make_animation.py

and then open the resulting file, animation.html using your web browser. This file is created using the option embed = True, which means that the image data is embedded directly in the html file in base64-representation. This means that the animation is entirely self-contained in the file.

A more sophisticated animation can be created using

python make_lorenz_animation.py

(adapted from this blog post The resulting file, lorenz_animation.html, can be opened in your web browser. This animation is created using the option embed = False, which means that the frames are individually stored in the directory lorenz_animation_frames. This prevents the html file from being too large.

If you have IPython notebook installed, you can open animation_example.ipynb to see the automatic animation representation within the notebook. Simply import the IPython_display submodule, create the animation, and the javascript widget will appear embedded in your notebook window.

Browser Compatibility

Because the animation widget uses an HTML5 slider element, it does not work in some browsers. For a comprehensive list of supported browsers, see this list.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].