El Greco is considered to have influenced both the Expressionism and Cubism styles . His personality and works inspired poets and writers like Rainer Maria Rilke and Nikos Kazantzakis . El Greco is regarded as a precursor of both Expressionism and Cubism , while his personality and works were a source of inspiration for poets and writers such as Rainer Maria Rilke and Nikos Kazantzakis .