import matplotlib.pyplot as plt
plt.ylabel('Y AXIS')
plt.xlabel('X AXIS')
fig = plt.figure()
ax = fig.add_subplot(...)
ax.set_title('Title Here')
ax.set_xlabel('x label here')
ax.set_ylabel('y label here')
ax.set_zlabel('z label here')
ticks = [0, 1, 2]
labels = ["a", "b", "c"]
plt.figure()
plt.xticks(ticks, labels)
plt.show()