From 6ee839d64d8b0f5f73fd5899032f2ae4bd8a7a51 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Mon, 24 Oct 2016 15:43:37 +0200 Subject: change function name on plot --- ot/plot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ot') 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' -- cgit v1.2.3