import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(1, 1, 1)
im = ax.imshow(np.random.random((10, 10)))
ax.set_xticklabels(['a', 'b', 'c', 'd'])
customize ticks for AxesImage?