Giving the user-defined label the highest priority for add_colorbar #1005
FeiYao-Edinburgh
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
|
Good suggestion. Would you like to submit a pull request so that you can get credits for this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yes. I have made a PR following your suggestion. Note that I only made changes to |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I have found the following code excerpt in
cartoee.add_colorbar:This, from my humble view, will give the vis_params["bands"] (A list with "[]" if any) the highest priority. However, by allowing user to specify
label, don't we want to give user-defined label the highest priority. If so, this can be simply done by re-ordering the codes as below:Meanwhile, it might be beneficial to return
cbfor any post modifications.All the best,
Fei
Beta Was this translation helpful? Give feedback.
All reactions