Open tonyzhangnxp opened 1 month ago
The API add_theme_color supports color dict as input
Hmm... why do you think it does?
Also, FWIW, color_dict
in your code is a list, not a dict.
If you want to draw every marker with a different color, you can render them individually with draw_circle
. Maybe there are other ways, it was just first to come to my mind.
Hello @v-ein
Thank you for your quick reply. You are right, color_dict is a list.
I was greatly concerned that the UI would be stuck when using draw_circle to draw a large number of arrays.
BR Tony
How large is large? How many colors are you going to use, and how many markers?
Hello there
The API add_theme_color supports color dict as input, but it doesn't work. Here is the code
And this is what I got: