I'm using matplotlib to plot things that have a lot of data clustered around values 0, .5, and 1. So it is difficult to see the difference between values within each cluster with a sequential colormap (which is what I want to use).
I would like to "stretch" the colormap around the values where my data clusters, so that you can see the contrast within each cluster as well as between clusters.
I saw this similar question, but it doesn't quite get me to where I want: Matlab, Python: Fixing colormap to specified values
Thanks!