Plot with color bar on axis | Roeland Schoukens | Observable
•ojs
•ojs
•ojs
•ojs
•ojs
Comments (4)
Fil
Apr 7, 2025
the barycentric issue is
https://github.com/observablehq/plot/issues/2312
Roeland Schoukens
Apr 7, 2025
Correction about "barycentric" interpolation: I think colors are considered 'categorical' values so the random selection is used instead of interpolation.
Fil
Apr 8, 2025
That's if you pass the colors as CSS4 such as `rgb(x y z)`; this is not supported yet in Plot (but see
https://github.com/observablehq/plot/pull/2145
for a fix).
Roeland Schoukens
Apr 8, 2025
Using rgb(1, 2, 3) doesn't work at all at the moment, I've already changed the CSS colours to hex notation.
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Roeland Schoukens
1
Reply
Add comment
Subscribe to notifications
1
Plot with color bar on axis | Roeland Schoukens | Observable