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 - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

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

java - Reading data from multiple zip files and combining them to one -