You should also specify axis and threshold limits:
ax1.ticklabel_format(axis="y", style="sci", scilimits=(-2,2))
This would use sci format on y axis when figures are out of the [0.01, 99]
bounds.
More Related Contents:
- Plotting time in Python with Matplotlib
- How can I plot separate Pandas DataFrames as subplots?
- How to adjust padding with cutoff or overlapping labels
- Plotting with seaborn using the matplotlib object-oriented interface
- Move seaborn plot legend to a different position
- Heatmap in matplotlib with pcolor?
- matplotlib: overlay plots with different scales?
- pylab.ion() in python 2, matplotlib 1.1.1 and updating of the plot while the program runs
- How to create a density plot in matplotlib?
- How can I remove the top and right axis in matplotlib?
- prevent plot from showing in jupyter notebook
- matplotlib.pyplot will not forget previous plots – how can I flush/refresh?
- custom matplotlib plot : chess board like table with colored cells
- 3D animation using matplotlib
- How do you plot a vertical line on a time series plot in Pandas?
- Updating z data on a surface_plot in Matplotlib animation
- How do I tell Matplotlib to create a second (new) plot, then later plot on the old one?
- pandas .plot() x-axis tick frequency — how can I show more ticks?
- Image overlay in 3d plot using python
- Repeating x axis labels for all facets using FacetGrid in seaborn
- Plotting: ValueError: x and y must have same first dimension
- Python saving multiple figures into one PDF file
- How to force integer tick labels
- How do I work with images in Bokeh (Python)
- Seaborn tsplot does not show datetimes on x axis well
- Using %matplotlib notebook after %matplotlib inline in Jupyter Notebook doesn’t work
- How to store an image in a variable
- Exact semantics of Matplotlib’s “interactive mode” (ion(), ioff())?
- Save plot to image file instead of displaying it
- How to find the intersection of two graphs