change the colorbar based on filtering