I’m new to matplotlib and am trying to plot some numbers by weekday. Right now (see image below), my x axis is numbered as 0 – 6, and 0 = Monday, 1 = Tuesday etc. How do I change the xaxis ticker label so that it says Mon, Tue, Wed etc, instead of 0-6? Thanks a lot!
My current code
import matplotlib
matplotlib.use('Agg')
import matplotlib.pyplot as plt
plt.plot(wp.values(),'o')
My current image output

The method you’re looking for is
Axes.set_xticklabels: