You can perform data recovery from the Time Machine backup if you have made one before or utilize data recovery software to implement this mission, while the success rate of the later solution depends on how many new files you write to your MacBook Pro. The more files are written to the MacBook Pro, the lower the data recovery success rate is.
iBoysoft Data Recovery Software helps a lot in recovering an erased MacBook Pro, you just download it, put it into a partition/volume that isn't erased, and then begin the data recovery followingly. All the files and data will be scanned by this handy software, so you can recover them with ease!