SciPy

scipy.sparse.bsr_matrix.getmaxprint

bsr_matrix.getmaxprint()[source]

Maximum number of elements to display when printed.