Does someone's sex drive lower when they go through a depressive period?

Curious what other people's experiences are.