Comments (4)
Sorry for the late response. Did you try saving the animation as an mp4 or gif, or try displaying it in a notebook?
https://github.com/jwkvam/celluloid#manual
from celluloid.
hello! im having the same issue, just to clarify is saving the animation as an mp4 required? i am looking to plot data in real-time and hoping this is the tool im looking for. :)
from celluloid.
even the first illustration in the documentation page of celluloid on google collab.
install ,copy paste and run
pip install celluloid
from matplotlib import pyplot as plt
from celluloid import Camera
fig = plt.figure()
camera = Camera(fig)
for i in range(10):
plt.plot([i] * 10)
camera.snap()
animation = camera.animate()
please resolve
from celluloid.
There is nothing to resolve if you read the documentation camera.animate()
on its own wont do anything.
You either need to call animation.save(filename)
to save it as an mp4 or HTML(animation.to_html5_video())
. The examples in the documentation that do not have anything after animation = camera.animate()
are clearly left this way to allow for the ambiguity of saving or visualising on the notebook.
from celluloid.
Related Issues (20)
- TypeError: zip argument #2 must support iteration HOT 1
- Edges of plot disappear after first loop HOT 1
- TypeError: 'MovieWriterRegistry' object is not an iterator HOT 4
- unknown file extension: .mp4 HOT 1
- Animation results in only the last frame being shown statically HOT 4
- hold on to some background graphs
- Frame missing in .mp4 but not in .gif HOT 1
- Text is not animated HOT 1
- animation.save() is goint to infinite loop
- animation.save() problematic HOT 1
- example code error
- Titles/labels/ticks accumulate with matplotlib==3.3.4
- Change gif compression level/bitrate
- View videos in colab HOT 3
- hsl(254,98%,24%)
- simple example returns error HOT 1
- Setting different title per plot/frame HOT 2
- celluloid and jupyter notebook HOT 2
- Doesn't animate title HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celluloid.