title: Log labels on colorbar matplotlib
body: <p>I have a logarithmic imshow figure, and when the colorbar is created, its axis labels and ticks are logarithmic, but because of the short range (0-50) of the values, the colorbar looks like this:</p>
  
  <p><img src="https://i.stack.imgur.com/hyu6Z.png" alt="enter image description here"></p>
  
  <p>and I would like it to instead show as 0, 5, 10, 20, 50 spaced along the axis (logarithmic spacing).</p>
  
  <p>I can't seem to get this to work.</p>
  
  <p>Thanks for any help.</p>