Looks like your LED matrix is plugged in the wrong way. Unplug it, rotate 180 degrees and plug it back in. If it does not fix the problem then it is something else (maybe the software is not initialising it properly, but you have not provided any software to check).