I have a seemingly quite simple question but cannot find an answer anywhere. Python automatically labels the axes with the corresponding column names of the data-frame, which I would like to hide though. I tried the following but the axis label changes to be the string 'None' rather than blank. Is there a right way to do for my purpose? Thanks.
import pandas
dat = pandas.DataFrame({'x':[0,1], 'y':[0,1]})
ax = dat.plot(x = 'x', y = 'y')
ax.set_ylabel(None)