summaryrefslogtreecommitdiff
path: root/ot/plot.py
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2016-10-24 15:43:37 +0200
committerRémi Flamary <remi.flamary@gmail.com>2016-10-24 15:43:37 +0200
commit6ee839d64d8b0f5f73fd5899032f2ae4bd8a7a51 (patch)
tree90d87db9e3647d2e9434983a10d9e1f0be65c70a /ot/plot.py
parent4cdefdf572e41bc578625da53e82a4c2e455a62e (diff)
change function name on plot
Diffstat (limited to 'ot/plot.py')
-rw-r--r--ot/plot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ot/plot.py b/ot/plot.py
index f78daf6..ce5444e 100644
--- a/ot/plot.py
+++ b/ot/plot.py
@@ -4,7 +4,7 @@ import matplotlib.pylab as pl
from matplotlib import gridspec
-def otplot1D(a,b,M,title=''):
+def plot1D_mat(a,b,M,title=''):
""" Plot matrix M with the source and target 1D distribution """
na=M.shape[0]
@@ -38,7 +38,7 @@ def otplot1D(a,b,M,title=''):
pl.xlim((0,nb))
-def otplot2D_samples(xs,xt,G,thr=1e-8,**kwargs):
+def plot2D_samples_mat(xs,xt,G,thr=1e-8,**kwargs):
""" Plot matrix M in 2D with lines using alpha values"""
if ('color' not in kwargs) and ('c' not in kwargs):
kwargs['color']='k'