My solution is to add all your colors to colormap. Then index them when ploting.
For example, for a scatter plot:
cmap = ....
Answered 3 years ago
3 years ago
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries