Improve display of numpy arrays in formulas log.