set_diagonal ============ .. currentmodule:: teneto.utils .. autofunction:: set_diagonal