Fix PyplotViewer iterable check

Quantities act like iterables even when they are not.
That caused problems by isintance(foo, collections.Iterable)
tests.