Try to set the axis limits according to the data. A faster interface - via pyplot functions - I think you want:
plt.ylim(0, len(diff.index))
plt.xlim(0, len(diff.columns))
but if you save the return value from pcolor, you can also set limits.
h = plt.pcolor(diff,clip_on=False)
h.axes.set_ylim(0, len(diff.index))
source
share