The late artist’s first major retrospective chronicles his development from early, muted works to the riotous paintings for which he became famous