How does temperature affect the bounce of a baseball?

the ball is harder in the cold weather making it less bouncy but in warm weather the ball is less stiff and more bouncy.