summaryrefslogtreecommitdiff
path: root/ot/plot.py
diff options
context:
space:
mode:
authorievred <ievgen.redko@univ-st-etienne.fr>2020-04-02 15:29:12 +0200
committerievred <ievgen.redko@univ-st-etienne.fr>2020-04-02 15:29:12 +0200
commit9200af5d795517b0772c10bb3d16022dd1a12791 (patch)
tree3220647499ea28b24c1126317700747e6c12c522 /ot/plot.py
parent6b8477d1c08696a08a1b71642712d83e560f9623 (diff)
laplace v1
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()