Use interpolation='none' when ploting with mpl