CO<sub>2</sub>(g) <-> CO<sub>2</sub>(aq) + heat
Now we know Le Chatellier's principle,
If any chemical system in equilibrium is subjected to a change in pressure, volume, concentration or temperature, then the system will react in the direction to minimise the effect of the change.
So if heat is increased (such as when it is in the sun), the equilibrium moves left (of the first equation) to reduce the heat, so there is more CO2 in gas form. Hence it will go flat.
If it is chilled in the fridge, the equ will shift to the right to produce more heat, producing more dissolved or aqueous CO2.