>>>>> "Gaël" == Gaël Varoquaux <[EMAIL PROTECTED]> writes:
Gaël> Hi, It would be a nice feature for the plot command to Gaël> accept a list of rgb colors of the same length than the data Gaël> vectors to be plotted, in order to generate plots alike the Gaël> one on the wiki Gaël> "http://scipy.org/Cookbook/Matplotlib/MulticoloredLine". Eric recently updated LineCollection to inherit from ScalarMappable (in mpl 0.87.3) which means you can pass it a colormap instance. Perhaps we should update the wiki example to reflect this. I'm not at all opposed to making a helper function like scatter to plot parametric lines with colormaps, but I don't think "plot" is the right vehicle, since it returns a Line2d, not a LineCollection, and since it is already heavily overloaded. parplot? JDH
_______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel