ENH: unique qualitative color ramp. Also refactoring for future ipython deprecation of --pylab=inline