diff options
author | Gard Spreemann <gspr@nonempty.org> | 2021-12-29 19:26:03 +0100 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2021-12-29 19:26:03 +0100 |
commit | edab1c60630f95b38db430017585d06253c92817 (patch) | |
tree | 4cb2340c51157da0c81aae0907327417ffddd8ab /ot/plot.py | |
parent | 1a283cb0c77f79d6f36de7c01fa61dc8d9696bca (diff) | |
parent | 5ed61689a41350fac40ce995515e6cbcb7203f48 (diff) |
Merge tag '0.8.1' into dfsg/latest
Diffstat (limited to 'ot/plot.py')
-rw-r--r-- | ot/plot.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ from matplotlib import gridspec def plot1D_mat(a, b, M, title=''): - """ Plot matrix :math:`\mathbf{M}` with the source and target 1D distribution + r""" Plot matrix :math:`\mathbf{M}` with the source and target 1D distribution Creates a subplot with the source distribution :math:`\mathbf{a}` on the left and target distribution :math:`\mathbf{b}` on the top. The matrix :math:`\mathbf{M}` is shown in between. @@ -61,7 +61,7 @@ def plot1D_mat(a, b, M, title=''): def plot2D_samples_mat(xs, xt, G, thr=1e-8, **kwargs): - """ Plot matrix :math:`\mathbf{G}` in 2D with lines using alpha values + r""" Plot matrix :math:`\mathbf{G}` in 2D with lines using alpha values Plot lines between source and target 2D samples with a color proportional to the value of the matrix :math:`\mathbf{G}` between samples. |