Occasional horizontal purple line appearing for less than one second

My MBP would occasionally have a horizontal purple line appearing and disappearing for less than one second across the screen. The width is usually about 1 inch thick. It usually happens once or twice a day. Does anyone know if the problem comes from my screen or my GPU? Thank you!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2942205:01crwdne2942205:0:

You'll need to check things using an external monitor to be sure.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0