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

Provide a 'transparent' color for missing values (isofill/boxfill/etc... plots) #1042

jypeter opened this issue Feb 18, 2015 · 3 comments


Copy link

@jypeter jypeter commented Feb 18, 2015

Would it be possible to plot the missing values with a transparent color? That could probably best be achieved by, when requested, not plotting anything where there is a missing value

This would make it possible to emulate outfill with boxfill (if we have to say goodbye to outfill, #999 (comment)) and would be useful when you want to overlay an isofill/boxfill plot on top of another plot, and want to see some of the data below

The user could specify it the following way

isof = x1.createisofill(None)
isof.missing = None
bf = x1.createboxfill(None)
bf.missing = None

Maybe there is already a way to do this that I don't know of. It's a feature I have needed from time to time, but I did not have time to formally request it

@doutriaux1 doutriaux1 added this to the 2.3 milestone Feb 18, 2015
@doutriaux1 doutriaux1 self-assigned this Feb 18, 2015
Copy link

@doutriaux1 doutriaux1 commented Feb 18, 2015

@jypeter I am planning on adding transparency to the colortables, but not for this version. Maybe 2.3 or 3.x

Copy link
Member Author

@jypeter jypeter commented Feb 19, 2015

Will you be using some alpha channel opacity stuff?

What about the not plotting masked cells when the specified missing value is None? This may be naive, but is not the code mostly already in place for that?

Copy link

@doutriaux1 doutriaux1 commented Aug 31, 2015

@sankhesh I think we pretty much implemented this by now, so I'm reassigning to you so that you can close via git commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants