8000 dynamic_image.py + saving animation broken · Issue #14042 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
dynamic_image.py + saving animation broken #14042
Closed
@anntzer

Description

@anntzer

Bug report

Bug summary

Uncommenting the ani.save("movie.mp4") line of examples/animation/dynamic_image.py and running the example with mpl master fails with

Traceback (most recent call last):
  File "examples/animation/dynamic_image.py", line 35, in <module>
    ani.save("movie.mp4")
  File "lib/matplotlib/animation.py", line 1137, in save
    save_count_list = [a.save_count for a in all_anim]
  File "lib/matplotlib/animation.py", line 1137, in <listcomp>
    save_count_list = [a.save_count for a in all_anim]
AttributeError: 'ArtistAnimation' object has no attribute 'save_count'

whereas the movie would be correctly saved with mpl3.0.

Matplotlib version

  • Operating system: linux
  • Matplotlib version: master
  • Matplotlib backend (print(matplotlib.get_backend())): qt5agg
  • Python version: 37
  • Jupyter version (if applicable): no
  • Other libraries:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.topic: animation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0