|
From: V. A. S. <so...@es...> - 2014-11-13 19:52:28
|
On 13.11.2014 18:04, Thomas Caswell wrote: > If you want each marker to be a different color you have to use > scatter. You can pass scatter a sequence of colors (see > http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.scatter > [4]) so you don't have to go through making a custom colormap. > Got it. I was having an error but it was because the example I was using as base tried to add a colorbar ... Obviously without a colormap that was impossible. I still have to deal with the problem that plot gives back a list of Line2D instances while scatter gives back a PathCollection object but that's a different issue. Thanks, Armando |