I added support for more matplot-related plot types. Restart your
project server and this should work:
v = [1,1,1,1,1,1,1,4,3,5,2,3,2,2,5,7,8,7,8,6,5,7,5,4,5,6,5,6,5,4,3,4,3,4,3,3,3,4,3,3,2,3,2]
from pandas import Series
Series(v).hist(bins=5)
Note: pylab.clf() is no longer needed... it is now called at the
beginning of any cell. I played with pre-importing pandas, but it is
too slow to import all the time for everybody.
While I was at it, I changed R plotting (via %r mode) to use svg
instead of png for graphics, which looks a lot better.
-- William