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

enter image description here

The values are all around -1, but you cannot guess that from that unfortunate notation.

gca().ticklabel_format(useOffset=False) does not work here.

Soerendip
  • 7,684
  • 15
  • 61
  • 128

1 Answers1

0

So, according to ImportanceOfBeingErnest the offset needs to be deactivated axis specific:

gca().ticklabel_format(axis="y", useOffset=False) 

for the y-axis.

Soerendip
  • 7,684
  • 15
  • 61
  • 128