title: How to control scientific notation in matplotlib?
body: <p>This is my data frame I'm trying to plot:</p>
  
  <pre><code>my_dic = {'stats': {'apr': 23083904,
                         'may': 16786816,
                         'june': 26197936,
                       }}
  my_df = pd.DataFrame(my_dic)
  my_df.head()
  </code></pre>
  
  <p>This is how I plot it:</p>
  
  <pre><code>ax = my_df['stats'].plot(kind='bar',  legend=False)
  ax.set_xlabel("Month", fontsize=12)
  ax.set_ylabel("Stats", fontsize=12)
  ax.ticklabel_format(useOffset=False) #AttributeError: This method only works with the ScalarFormatter.
  plt.show()
  </code></pre>
  
  <p>The plot:</p>
  
  <p><a href="https://i.stack.imgur.com/LYlyH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LYlyH.png" alt="enter image description here"></a></p>
  
  <p>I'd like to control the scientific notation. I tried to suppress it by this line as was suggested in other questions <code>plt.ticklabel_format(useOffset=False)</code> but I get this error back - <code>AttributeError: This method only works with the ScalarFormatter</code>. Ideally, I'd like to show my data in (mln).</p>