We advertise that ChannelValueSpec can be used in place of ChannelValue, but there are quite a few places where we assume ChannelValue instead of ChannelValueSpec. I tried to do a survey here:
I don’t think the fix is to add ChannelValueSpec support to Plot.valueof (or at least, that isn’t sufficient). For example, there are places where we call maybeColorChannel that would need to support ChannelValueSpec, and maybeZ should allow a ChannelValueSpec for fill and stroke but not z. 🤔
Related #1869.
We advertise that ChannelValueSpec can be used in place of ChannelValue, but there are quite a few places where we assume ChannelValue instead of ChannelValueSpec. I tried to do a survey here:
I don’t think the fix is to add ChannelValueSpec support to Plot.valueof (or at least, that isn’t sufficient). For example, there are places where we call maybeColorChannel that would need to support ChannelValueSpec, and maybeZ should allow a ChannelValueSpec for fill and stroke but not z. 🤔
Related #1869.