updated API for enplot.build_matrix