JetBrains / lets-plot

Multiplatform plotting library based on the Grammar of Graphics
https://lets-plot.org
MIT License
1.55k stars 49 forks source link

Area chart with gradient fill #1199

Open concimuscb opened 1 day ago

concimuscb commented 1 day ago

Is there any way to achieve a gradient in the filling of an area chart?

image

I have not been able to find anything in the docs.

If not, how feasible would it be to add this feature? I think it greatly improves the aesthetics of area charts.

Thanks a lot in advance!

alshan commented 1 day ago

ggplot2 3.5.0 added support for patterns and gradients: https://www.tidyverse.org/blog/2024/02/ggplot2-3-5-0/#patterns-and-gradients Does plotnine have gradients?

concimuscb commented 10 hours ago

Hi, as far as I know this is also not supported in plotnine.