Why is the play named with the name Pygmalion?

the play was based off the Greek myth called Pygmalion