a weird bug, either in cubehelix or ipython notebook