matplotlib/matplotlib — pull request #605 by dmcdougall (2011-12-01 23:08:44+00:00)
Title: Fix issue involving scoping of next() function.

There were some issues calling next(iter(variable_name)) inside functions.

These were resolved by calling the next method belonging to the iter object:
iter(variable_name).next()