summaryrefslogtreecommitdiff
path: root/ot/plot.py
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-07-09 08:50:11 +0200
committerGard Spreemann <gspr@nonempty.org>2020-07-09 08:50:11 +0200
commit616c6039614e96b6cfd88eb7db25ce11c7302c30 (patch)
treea745ec24604f660b256dbaee214affa497c9c21e /ot/plot.py
parentd62f05daf348b4e554056f298c66cbd64f5e3c6e (diff)
parenta16b9471d7114ec08977479b7249efe747702b97 (diff)
Merge branch 'dfsg/latest' into debian/sid
Diffstat (limited to 'ot/plot.py')
-rw-r--r--ot/plot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ot/plot.py b/ot/plot.py
index f403e98..ad436b4 100644
--- a/ot/plot.py
+++ b/ot/plot.py
@@ -78,9 +78,10 @@ def plot2D_samples_mat(xs, xt, G, thr=1e-8, **kwargs):
thr : float, optional
threshold above which the line is drawn
**kwargs : dict
- paameters given to the plot functions (default color is black if
+ parameters given to the plot functions (default color is black if
nothing given)
"""
+
if ('color' not in kwargs) and ('c' not in kwargs):
kwargs['color'] = 'k'
mx = G.max()