Which figure of speech is used in this text?
The people of San Francisco weren't exactly celebrating after the devastating 1906 earthquake.

 - antithesis
 - understatement
The text uses understatement, which involves deliberately representing something as less serious or important than it really is.
Weren't exactly celebrating is an understatement, since people wouldn't celebrate at all after a devastating earthquake.