How can I remove the white border round the top and right of this plot? this is the code I'm using to plot my pandas DataFrame: plt.pcolor(diff,clip_on=False) # diff is a DataFrame plt.yticks(np.arange(0.5, len(diff.index), 1), diff.index) plt.xticks(np.arange(0.5, len(diff.columns), 1), diff.columns, rotation=90) plt.colorbar()
