Giter VIP home page Giter VIP logo

Comments (4)

jwkvam avatar jwkvam commented on May 30, 2024

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.

MrSassyBritches avatar MrSassyBritches commented on May 30, 2024

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.

Harshitshukla0 avatar Harshitshukla0 commented on May 30, 2024

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.

franciscovargas avatar franciscovargas commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.