title: height of colorbar (matplotlib)
body: <p>Is it possible to have a colorbar smaller than the height of figure?
  I know that we can adjust the size of colorbar with  </p>
  
  <pre><code>divider = make_axes_locatable(ax)
  cax = divider.append_axes("right", size="3%", pad=0.05)
  pl.colorbar(im, cax=cax)
  </code></pre>
  
  <p><code>size</code> only adjust the width of colorbar. but how about the height?</p>
  
  <p>I am looking for a colorbar at upper right, with the half height of the figure.</p>