boxplot(df.dmass)
ylabel(r'$\Delta M$')
xlabel('peakMz - exactmass')
The values are all around -1, but you cannot guess that from that unfortunate notation.
gca().ticklabel_format(useOffset=False)
does not work here.
boxplot(df.dmass)
ylabel(r'$\Delta M$')
xlabel('peakMz - exactmass')
The values are all around -1, but you cannot guess that from that unfortunate notation.
gca().ticklabel_format(useOffset=False)
does not work here.
So, according to ImportanceOfBeingErnest
the offset needs to be deactivated axis specific:
gca().ticklabel_format(axis="y", useOffset=False)
for the y-axis.