summaryrefslogtreecommitdiff
path: root/ot/plot.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2019-07-23 09:31:11 +0200
committerGitHub <noreply@github.com>2019-07-23 09:31:11 +0200
commit0063cb87a10293a24ad1c9483be121745958c24a (patch)
tree2f4721a3daa16f37d9b45e397b3aa4fdb9c72a11 /ot/plot.py
parent952503e02b1fc9bdf0811b937baacca57e4a98f1 (diff)
parent0d9c65d39f7bf6a9c692ad8d5421ddb087ddcafc (diff)
Merge pull request #92 from agramfort/cosmits_agramfort
[MRG] first pass on docstrings + adding pydocstyle in makefile
Diffstat (limited to 'ot/plot.py')
-rw-r--r--ot/plot.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ot/plot.py b/ot/plot.py
index a409d4a..f403e98 100644
--- a/ot/plot.py
+++ b/ot/plot.py
@@ -26,11 +26,11 @@ def plot1D_mat(a, b, M, title=''):
Parameters
----------
- a : np.array, shape (na,)
+ a : ndarray, shape (na,)
Source distribution
- b : np.array, shape (nb,)
+ b : ndarray, shape (nb,)
Target distribution
- M : np.array, shape (na,nb)
+ M : ndarray, shape (na, nb)
Matrix to plot
"""
na, nb = M.shape