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

support alpha keyword arg #84

Closed
ssfrr opened this issue Apr 16, 2018 · 9 comments
Closed

support alpha keyword arg #84

ssfrr opened this issue Apr 16, 2018 · 9 comments
Labels
vizcon Things we can implement at vizcon

Comments

@ssfrr
Copy link
Contributor

ssfrr commented Apr 16, 2018

sometimes I find myself wanting to use the alpha channel to visualize some parameter, or just quickly tweak the transparency to improve aesthetics for a dense plot.

The first thing I tried was just adding an alpha=0.5 keyword arg to my scatter call, just to see if it would work. It didn't. :)

I'm guessing that there's some way to specify the color from scratch and include the alpha channel, but the default colors are pretty good and I just want to tweak the transparency without needing to override the default colors otherwise.

@SimonDanisch
Copy link
Member

I didn't really like the alpha keyword, but I think it does make sense how you put it!
It should also be reasonably easy to implement! I'll try to include it soon :)

@SimonDanisch SimonDanisch added the vizcon Things we can implement at vizcon label Oct 22, 2018
@asinghvi17
Copy link
Member

alpha is implemented now IIRC.

@SimonDanisch
Copy link
Member

It's just included, but not implemented yet :(

@SimonDanisch SimonDanisch reopened this Jul 14, 2019
SimonDanisch added a commit that referenced this issue Jun 3, 2021
SimonDanisch added a commit that referenced this issue Jun 3, 2021
bugfix mouseWheelHandler & disable contextmenu
@jtrakk
Copy link

jtrakk commented Jun 6, 2021

transparency and alpha both appear in the docs. What is the difference?

@cossio
Copy link
Contributor

cossio commented Sep 13, 2021

Bump. Particularly @jtrakk question?

@SimonDanisch
Copy link
Member

uhm, alpha should be removed from the docs, since isn't implemented yet :(
transparency accepts a bool, to indicate if something should be rendered transparent or not (regardless of the alpha)...The effect is, that it renders without writing to the depth buffer, which results in objects behind it being rendered.

@jkrumbiegel
Copy link
Member

I feel like this should be renamed to write_depth_buffer because transparency promises more than it can hold.

@czimm79
Copy link

czimm79 commented Jun 7, 2022

This feature has been missing for awhile, and I'd like to help. I'm pretty inexperienced with contributing but I'd like to learn.

Is there a way to get the current color or colormap, then simply rewrite alpha=0.5 as color=(getcurrentcolor(), 0.5)?

@SimonDanisch
Copy link
Member

implemented in #2900

@ffreyer ffreyer moved this to To do in Makie 1.0 Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vizcon Things we can implement at vizcon
Projects
Status: To do
Development

No branches or pull requests

7 participants