The function matplotlib.cbook.iterable has the documentation:
def iterable(obj):
'return true if *obj* is iterable'
try: len(obj)
except: return False
return True
However, in Sage, we have some objects that have __len__ defined, but
are not iterable (i.e., they don't impleme
On Tue, Mar 22, 2011 at 3:58 PM, Paul Ivanov wrote:
> Hey everyone,
>
> Michael D and I are working on reducing the memory footprint of
> our test suite here at Sage days (we've made very good progress!),
> and came across a behavior of plt.clf() that we wanted feedback
> on.
>
> At the moment, p
Hey everyone,
Michael D and I are working on reducing the memory footprint of
our test suite here at Sage days (we've made very good progress!),
and came across a behavior of plt.clf() that we wanted feedback
on.
At the moment, plt.clf (i.e. fig.clf) do not clear all of the
state variable associa