<div id="comment:0"></div> Following #33377, we allow method `distance_matrix` to pass arguments to the matrix constructors. Depends on #33377 CC: @mkoeppe Component: **graph theory** Author: **David Coudert** Branch/Commit: **[`8ca8b3b`](https://github.com/sagemath/sagetrac-mirror/commit/8ca8b3bd88081003c341e18307315f28b38c2660)** Reviewer: **Matthias Koeppe** _Issue created by migration from https://trac.sagemath.org/ticket/33389_