Rows and columns configurable to other than multiples of 8?

Can someone tell me if the number of rows and columns is configurable to be other than 8, 16, 32, 64, etc.?

I ask because the matrix will be custom-built to specific frame sizes. I might need a 10 x 13 matrix, a 31 x 25, or something else. I’d like to know what’s possible before I commit to raspberry pi and rpi-rgb-led-matrix.

My setup will consist of only one custom-built panel using WS2812B (Neopixel) strips.

Many thanks for the help!

Proofessional panels will always be a power of two. This is because of how the hardware is built to save the number of pins you need to drive it. Which is why this library is built this way.
If you are going to make your own, likely you would just drive the panel at the next highest number up, eg. A 31x31 panel would be driven at 32x32, with the last row and column ignored.
Likely your shift registers wont have a problem with this, as they are also manufacutered in power of twos.