dynamicsoar's log

主に研究関係のメモ

2021-03-17から1日間の記事一覧

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) こんだけのことがなかなかわからずだいぶさまよ…