title: Displaying first decimal digit in scientific notation in Matplotlib
body: <p>I am currently generating different figures with a scientific notation for the y-axis leading to ticks like 2 or 6 on some plots, but 2.5 or 8.9 on some others. I would like to always have ticks with one decimal on the y-axis, even if it adds a zero. Here is an example</p>
  
  <pre><code>import matplotlib.pyplot as plt
  import numpy as np
  
  plt.plot(np.arange(1, 10), np.arange(1, 10)**5)
  ax = plt.gca()
  plt.ticklabel_format(axis='y', style='sci')
  ax.yaxis.major.formatter.set_powerlimits((0,0))
  plt.show()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/2s6Gk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2s6Gk.png" alt="Figure generated"></a></p>
  
  <p>What could I add to force to plot ticks 1.0, 2.0, etc. <strong>on the y-axis</strong>?</p>