Los Angeles City Council member Nury Martinez has announced her resignation after racist comments came to light.