Based loosely on " Yerma , " Federico Garcia Lorca 's 1934 Andalusian tragedy of a woman tortured by her failure to produce a child , " Red and Brown Water " also draws on a West African source -- Yoruba mythology -- as inspiration for the names and personalities of its characters .