Find runs through extremas
Use pp as pyplot alias