Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Manual gradient along Y-axis #84

Open
cgrandin opened this issue Feb 6, 2023 · 1 comment
Open

Feature request: Manual gradient along Y-axis #84

cgrandin opened this issue Feb 6, 2023 · 1 comment

Comments

@cgrandin
Copy link

cgrandin commented Feb 6, 2023

Hi, thanks for the package, it's great.

I was wondering if it is possible to have a manually-defined gradient on the y-axis? So for example to have a starting (minimum) colour and ending (maximum) colour, in this case white and black respectively to make a really nice looking shaded plot.

This is for aesthetics mostly, but also aids the eye in finding peaks which reach the maximum. In this particular case the minimum and maximum are 0 and 1 although that shouldn't matter.

Thank you

image

@clauswilke
Copy link
Collaborator

This feature could be implemented in principle now that grid supports gradients. But it's not high on my priority list. If somebody wants to take a stab I'm happy to consider a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants