John, Collections would be easier to use if they did not
> have the restriction (from the docstring):
> All color args to a collection are sequences of rgba
> It would be easy to remove this restriction; shall I do it,
> or is there a reason to leave the restriction in place?
> (The error message that results from violating the
> restriction is not helpful, and it would be as easy to
> remove the restriction as to improve the error handling.)
I think it's fine to remove it, but note that you have to be careful
to avoid ambiguity. How would you interpret
color = (0.25, 0.5, 0.75, 1.0)
Is this one rgba color or 4 grayscales?
Because mpl accepts lots of different types of args for colors, there
will probably be some ambiguous cases, thought these will be very rare
corner cases. Just document what the behavior is, and everyone should
be happy. I think you could do the same for the linewidths, etc. Eg
if scalar, interpret as a single linewidth for all elements of the
Or were you intending to preserve the requirement that one pass
sequences, but allow versatile color args in the sequence?