matplotlib/matplotlib — pull request #2634 by tacaswell (2013-11-30 19:16:08+00:00)
Title: address FuncAnimantion trying to take lengths of generators

If an iterable is passed into `FuncAnimation` check if it has
`__len__` before trying to take it's length

closes #1796