Python Matplotlib Discretize Colorbar Between Given

Python Matplotlib Discretize Colorbar Between Given