JetBrains / lets-plot

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

Area chart with gradient fill #1199

Open concimuscb opened 2 months ago

concimuscb commented 2 months 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 2 months 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 2 months ago

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

alshan commented 1 month ago

At least we are not behind here )