matplotlib で scientific notation しつつ "x 10^n" を書くやつ、を ax でやる
y-axis だけ。
formatter = ScalarFormatter() ax.yaxis.set_major_formatter(formatter) ax.ticklabel_format(axis='y', style='sci', scilimits=(0,0), useOffset=None, useLocale=None, useMathText=True)
こんだけのことがなかなかわからずだいぶさまよった…