python - Move scientific notation exponential to right side of y axis in matplotlib -
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
Post a Comment