First off, thanks for matplotlib.  It really is amazing.

I can't seem to figure out an acceptable sequence of dashes per the documentation:
'dashes: sequence of on/off ink in points'

This is what I'm trying:


mydashes = ['- ', '--', '- ', '--', '- ']

lines = plot(*triplets)

for i in range(len(lines)):
    setp(lines[i], dashes=mydashes[i])


I'm getting errors like:

ValueError: invalid literal for float(): -

or a message about even numbers in the dash sequence being required when I don't use even-length strings.

I really need about 5-10 different dash sequences to lines in a publication and the defaults are not quite enough.

Thanks,
John