title: Matplotlib: disable powers of ten in log plot
body: <p>Is there a simple way to make matplotlib not show the powers of ten in a log plot, and instead just show the numbers? I.e., instead of <code>[10^1, 10^2, 10^3]</code> display <code>[10, 100, 1000]</code>? I don't want to change the tickmark locations, just want to get rid of the powers of ten.</p>
  
  <p>This is what I currently have:
  <img src="https://i.stack.imgur.com/AaCHp.png" alt="enter image description here"></p>
  
  <p>I can change the labels themselves via <code>xticks</code>, however I then get mismatching fonts or sizes for the y tick labels. I am using TeX for this text. I've tried the following:</p>
  
  <pre><code>xx, locs = xticks()
  ll = [r'\rm{%s}' % str(a) for a in xx]
  xticks(xx, ll)
  </code></pre>
  
  <p>This gives the following result:
  <img src="https://i.stack.imgur.com/FlfuP.png" alt="enter image description here"></p>
  
  <p>In this particular case, I could use the same LaTeX roman font, but the sizes and looks are different to those in the y axis. Plus, if I used a different LaTeX font in matplotlib this is going to be problematic.</p>
  
  <p>Is there a more flexible way of switching off the power of ten notation?</p>