✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Color Scale based line flll

Hi Everyone,

I was wondering if there was a way to create a color scale based fill between two lines where the fill value at each x point is related to the differential between the lines.

here is a way of me trying it with 200 little rectangles that take a couple seconds to draw.

I was wondering if there was a quicker and prettier way to do this automatically

Hi @marketemp

I did something similar where I draw the difference between two series, but looking to your figure is not the same result.

See if this could help: