print('resetting Z-axis plot limits', self.zmin, self.zmax)
self.cbar = self.fig.colorbar(CS1, cax=self.fig.axes[1])
self.cbar.set_clim(self.zmin, self.zmax)
self.cbar.draw_all()
Setting matplotlib colorbar range