In a heterogeneous environment, natural selection on a trait can lead to a variety of outcomes, including phenotypic plasticity and bet-hedging through developmental instability. These outcomes depend on the magnitude and pattern of that heterogeneity and the spatial and temporal distribution of individuals. However, we do not know if and how those two outcomes might interact with each other. I...