Python Peak Detection Matlab Plot