Hello,
It seems to me there is a bug in matplotlib 0.98.3 (or at least a change from previous version).
>>> matplotlib.cbook.is_scalar('foo')
False
I would expect this to be True (otherwise, matplotlib.cbook.flatten(['foo']) enters an infinite recursive loop).
It used to be (0.98.0):
return is_string_like(obj) or not iterable(obj)
and now (0.98.3):
return not is_string_like(obj) and not iterable(obj)
If it is by purpose, could someone explain it to me ? I'll then have to change my code accordingly.
Thanks a lot in advance,
Cyrille Rosset.