如何在matplotlib boxplot中防止科学计数法(未使用ScalarFormatter时)?

boxplot(df.dmass)
ylabel(r'$\Delta M$')
xlabel('peakMz - exactmass')

如何在matplotlib boxplot中防止科学计数法(未使用ScalarFormatter时)?

这些值都在-1左右,但您不能从这种不幸的表示中猜出来。

gca().ticklabel_format(useOffset=False)在这里不起作用。

zyw52718 回答:如何在matplotlib boxplot中防止科学计数法(未使用ScalarFormatter时)?

因此,根据let calendar = Calendar.current array.sort(by: { (calendar.weekdaySymbols.firstIndex(of: $0.day) ?? Int.max) < (calendar.weekdaySymbols.firstIndex(of: $1.day) ?? Int.max)}) ,需要停用特定于轴的偏移量:

ImportanceOfBeingErnest

y轴。

本文链接:https://www.f2er.com/3130529.html

大家都在问