-
Notifications
You must be signed in to change notification settings - Fork 26
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
Is there a way to have the lowest alpha class visible? #138
Comments
I solved the problem this way.
I think the best approach would be to add an optional value for minimum alpha when calling I think it would be good if you add this option. I can help with that by creating a new branch and send a pull request, if you consider adding this capability. |
Hello @Babakjfard, thank you for reporting this behaviour and suggesting this option! I agree it would be useful to add logic that allows to scale the alpha value used, or to display values better in certain bins. I imagine two options: A) the distribution of values in the rgbA array is currently normalised between 0 & 1, maybe another normalisation method would be better suited (i.e. custom between 0.1 & 1) B) to introduce a threshold as suggested by @Babakjfard for low values. I think the how to might need some discussion in the wider community, what are your thoughts @ljwolf @darribas @sjsrey ? |
I can imagine similar keywords geopandas uses to normalise the colormap ( We could also reconsider the default behaviour here, I am not sure if the current one with |
Hi I encountered the same problem and used your method! It worked on the map but the legend is not reflecting the change and the first column is still transparent. Do you know anyway I can edit the legend? |
My question is not a bug that may require fixing. Simply, I want to know if there is a way to prevent alpha makes complete fade out or 100% transparency? therefore prevent all polygons on first class will be invisible on the map. Am I losing something? Is there anyway that I can tell vba_choroplet to start from already second level, so that I can still see the values?
Thank you for your help.
The text was updated successfully, but these errors were encountered: