title: matplotlib LogFormatterExponent -- 'e' in the exponent labels of cbar
body: <p>So I'm modifying someone else's library to setup a cbar with log (values). I thought I could use LogFormatterExponent() ... But it seemingly randomly adds and 'e' to the exponents that it uses for the cbar. What's going on? How can I suppress/fix this?</p>
  
  <blockquote>
  <pre><code>    if show_cbar:
          if log:
              l_f = LogFormatterExponent()
          else:
              l_f = ScalarFormatter()
          if qtytitle is not None:
              plt.colorbar(ims,format=l_f).set_label(qtytitle)
          else:
              plt.colorbar(ims,format=l_f).set_label(units)
  </code></pre>
  </blockquote>
  
  <p>Here's what I'm seeing for log=True:</p>
  
  <p><a href="https://i.stack.imgur.com/u4zRp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u4zRp.png" alt="enter image description here"></a></p>
  
  <p>And another plot where log = False:</p>
  
  <p><a href="https://i.stack.imgur.com/tcj1r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tcj1r.png" alt="enter image description here"></a></p>
  
  <p>At first, I thought the 'e's were being cut-off by the label at right... but over several plots this doesn't appear to be the case. I usually get 1-2 'e's ... But on a plot with only 3 color bar ticks, I see none!</p>
  
  <p><a href="https://i.stack.imgur.com/u2tjI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/u2tjI.png" alt="enter image description here"></a></p>