I solved the problem by converting the z-value list to a np.array /Sten
-- View this message in context: http://matplotlib.1069221.n5.nabble.com/z-as-colour-on-Basemap-plot-line-tp43827p43852.html Sent from the matplotlib - users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users