I had exactly the same problem, and these lines fixed the problem:
from matplotlib.ticker import ScalarFormatter
y_formatter = ScalarFormatter(useOffset=False)
ax.yaxis.set_major_formatter(y_formatter)
More Related Contents:
- How to force integer tick labels
- Change grid interval and specify tick labels
- Changing the “tick frequency” on x or y axis in matplotlib
- Changing the tick frequency on the x or y axis
- Plot logarithmic axes
- Editing the date formatting of x-axis tick labels
- X-axis tick labels are too dense when drawing plots
- Date ticks and rotation [duplicate]
- Change tick frequency on X (time, not number) frequency
- Matplotlib scatterplot; color as a function of a third variable
- Set Colorbar Range in matplotlib
- matplotlib does not show my drawings although I call pyplot.show()
- Seaborn Barplot – Displaying Values
- How to make a 4d plot with matplotlib using arbitrary data
- Matplotlib: Finding out xlim and ylim after zoom
- List of all available matplotlib backends
- How to remove frame from matplotlib (pyplot.figure vs matplotlib.figure ) (frameon=False Problematic in matplotlib)
- How to hide in IPython notebook
- Matplotlib – Move X-Axis label downwards, but not X-Axis Ticks
- Scientific notation colorbar in matplotlib
- Fill countries in python basemap
- Matplotlib bar graph not drawing borders/edges
- Background with range on seaborn based on two columns
- Matplotlib 3D plot zorder issue
- How to display the value on horizontal bars
- How to set xticks in subplots
- X-axis tick labels are too dense when drawing plots with matplotlib
- Specifying the order of layers
- automatically position text box in plot
- How to plot a high resolution graph