python - Move scientific notation exponential to right side of y axis in matplotlib -


i have plotted figure thisenter image description here

now want move scientific notation offset 1e4 right of right y axis, best move upper right of 1.8 label. how can this?

this should work:

t = ax.yaxis.get_offset_text() t.set_x(1.1) 

with ax right axis. however, cannot change y position, if not satisfied it, can hide offset text , create manually @ right position (x,y):

ax.yaxis.get_offset_text().set_visible(false) text(x, y, "1e4") 

Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -