The standard colormap is used for the maximum and minimum values of data. This means that if you specify values of color boundary for pcolormesh or contourf, the colors for specific values are essentially unchanged. This is not convenient if you want to differences in some value ranges. In such cases, you can use BoundaryNorm as shown in the following example.