python - How to change matplotlib axes so that that it does not display in scientific notation? -


how change matplotlib axes that not display in scientific notation? (i.e. displaying 626.70 ... 626.77 in case) tried changing x ticks doing ax.xaxis.set_ticks(np.arange(626.720, 626.727, 0.001)), axes crammed on left hand side.

thanks. enter image description here

x_formatter = matplotlib.ticker.scalarformatter(useoffset=false) x_formatter.set_scientific(false) ax.xaxis.set_major_formatter(x_formatter) 

Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -