He was inspired by Potter 's pet rabbit , Peter Piper .
Peter Rabbit was named after a pet rabbit Beatrix Potter had as a child called Peter Piper .