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

PyNGL equivalent to gsnFillColors with transparency #32

Open
senesis opened this issue Dec 19, 2019 · 0 comments
Open

PyNGL equivalent to gsnFillColors with transparency #32

senesis opened this issue Dec 19, 2019 · 0 comments

Comments

@senesis
Copy link

senesis commented Dec 19, 2019

Using Ncl, you can use gsnXYFillColors together with colors defined by a quadruplet (RGB+transparency) for creating graphs where an enveloppe between two curves can be lightly shaded, and superimposed on another enveloppe.

This is e.g. useful when showing time evolution of a climate variable, and its confidence interval, under two forcing scenarios

I have not been able to figure out from PyNGL doc how to do that : If ressource nglXYFillColors allow to fill the area between two curves, it only allows for named colors or color indices, and not color quadruplet such as with gsnXYFillColors; and PyNGL explanations about named colors and color indices make no mention of opacity tuning

So I assume this is a PyNGL shortcoming (vs NCL). Insnt'it ? Any hope for a fix, sooner or later ?

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

1 participant