Skip to content

FunctionAnimator tries to take length of iterator #1769

Closed
@stefanv

Description

@stefanv

https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/animation.py#L981

FunctionAnimator allows an iterator as the frames parameter, but then tries to take its length. This, e.g., does not work on iter(range(10)) or itertools.count().

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions