Support blend-mode in mark properties
See original GitHub issueNew vega and vega-lite now support blend-mode
https://vega.github.io/vega-lite/docs/mark.html#color
So, I try it with
alt.Chart(stocks).mark_line(blend='multiply').encode(
x='date:T',
y='price',
color='symbol'
).interactive()
But it gives an error.
altair.vegalite.v4.schema.core.MarkDef, validating 'additionalProperties'
Additional properties are not allowed ('blend' was unexpected)
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Change a layer's blend mode in Motion - Apple Support
In the Properties Inspector, click the Blend Mode pop-up menu, then choose a different mode. Choose Object > Blend Mode, then choose a...
Read more >mix-blend-mode - CSS-Tricks
The mix-blend-mode property defines how an element's content should blend with its background. For example, the text of a could blend with ...
Read more >Creative text styling with the CSS mix-blend-mode property
mix-blend-mode is a CSS property that defines how the content of an element should blend with the content of the element's parent and...
Read more >Scripting API: BlendMode - Unity - Manual
The blend mode is set separately for source and destination, and it controls the blend factor of each component going into the blend...
Read more >Mark | Vega-Lite
For example, point marks support shape and size properties in addition to these ... The color blend mode for drawing an item on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that will work, but be aware that that branch is in development and currently fails Altair’s unit tests, so I wouldn’t recommend using it for anything important.
Like this?