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

Create colour dictionary for categories #112

Open
camiloramirezgo opened this issue Dec 16, 2020 · 0 comments
Open

Create colour dictionary for categories #112

camiloramirezgo opened this issue Dec 16, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request Morocco Related to Morocco model Visualisation Visualisation features

Comments

@camiloramirezgo
Copy link
Contributor

Create a dictionary containing all categories used for the plots, and give unique colours to each one. This will ensure for example, that a categories found in the map will have the same colour as the same categories in the water delivered plot.

For this the property of discrete_color_map of Plotly Express can be used.

@camiloramirezgo camiloramirezgo self-assigned this Dec 16, 2020
@camiloramirezgo camiloramirezgo added enhancement New feature or request Morocco Related to Morocco model Visualisation Visualisation features labels Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Morocco Related to Morocco model Visualisation Visualisation features
Projects
None yet
Development

No branches or pull requests

1 participant