missing label in colorbar

Hi Everyone,
I solved the issue using the following code:

CS=ax1.pcolormesh(x,y,dolomites,vmin=0, vmax=max(dolomite),cmap=cm.jet_r)
fig.colorbar(CS,ticks=[0,max(dolomite)],orientation=‘horizontal’,aspect=40,format=’%.1E’)

ax1.set_title(“dolomite [phi]”)

It’s not straight forward to understand, I hope my question will be a good answer for others…

Cheers,

···


Oz Nahum
Graduate Student

Zentrum für Angewandte Geologie
Universität Tübingen


Imagine there’s no countries
it isn’t hard to do
Nothing to kill or die for
And no religion too
Imagine all the people
Living life in peace