We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now the palette keyword takes a string expression, but it would be handy to have it take lists as well:
palette
Map( color_category_layer( 'county_measures', 'male_or_female', 'Predominant Gender', palette=['#6486FD', '#FD8F64', 'yellow'] # in addition to '[#6486FD,#FD8F64,yellow]' ) )
The text was updated successfully, but these errors were encountered:
OK. This is because we pass directly the param to VL, and ['#6486FD', '#FD8F64', 'yellow'] cannot be parsed as a palette because they are strings.
['#6486FD', '#FD8F64', 'yellow']
We can add a utility method in the color helpers to serialize the palette to [#6486FD, #FD8F64, yellow].
[#6486FD, #FD8F64, yellow]
Sorry, something went wrong.
Jesus89
Successfully merging a pull request may close this issue.
Right now the
palette
keyword takes a string expression, but it would be handy to have it take lists as well:The text was updated successfully, but these errors were encountered: