midpointnorm# midpointnorm(vcenter=0, vmin=None, vmax=None)[source]# Alias to Matplotlib’s TwoSlopeNorm. Used to place the center of the colormap somewhere other than the center of the data. Parameters: vcenter (float) – the center of the colormap (0 by default) vmin (float) – the minimum of the colormap vmax (float) – the maximum of the colormap Example: data = pl.rand(10,10) - 0.2 pl.pcolor(data, cmap='bi', norm=sc.midpointnorm()) New in version 1.2.0.