In case you want to show colormapped data with matplotlib and you use code similar to this one: programming Colorbars for mixed usage of colormaps and static colors