Finally fixed the plotting error by updating to pandas 0.13