2017-10-30 7 views

答えて

0

あなたはrcParam axes.formatter.limitsを使用することがあります。

axes.formatter.limits : -7, 7 # use scientific notation if log10 
           # of the axis range is smaller than the 
           # first or larger than the second 

これはこれはScalarFormatterを使用するすべてのプロットのために働く必要があります

import matplotlib.pyplot as plt 
plt.rcParams['axes.formatter.limits'] = (-7, 7) 

で行うことができます。

seabornまたはpandasで作成したプロットでScalarFormatterを使用しない場合は、これらのパラメータを自動的に設定するためのノブはなく、使用するプロットに応じて手動で行う必要があります。

+0

実際、これは残念なことにpandas.DataFrame.plotで生成されたプロットには影響しません。 – clstaudt

関連する問題