dataframe .plot xlabel code example Example: pandas plot xlabel ax = df1.plot() ax.set_xlabel("x label") ax.set_ylabel("y label") plt.Show()