##^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Lance Simms, Stanford University 2009
##Matplotlib 0.98.1 handles colorbars differently than 0.90.1

##0.90.1
#FirstAx=ImFig.add_axes([0.01, 0.075, .425, 0.95])
#l,b,w,h= FirstAx.get_position()
#cax=axes([l,b-0.05,0.4,.04])
#mplot.colorbar(cax=cax, orientation='horizontal', format='%.0f')

##0.98.1
FirstAx=ImFig.add_axes([0.01, 0.075, .425, 0.95])
pos = FirstAx.get_position()
l, b, w, h = getattr(pos, 'bounds', pos)
cax=axes([l+0.015,b-0.05,0.4,.04])
mplot.colorbar(cax=cax, orientation='horizontal', format='%.0f')

