In what way Pygmalion is a shavian play?

Because it was written by George Bernard Shaw.