diff options
author | Gard Spreemann <gspr@nonempty.org> | 2020-07-09 08:49:39 +0200 |
---|---|---|
committer | Gard Spreemann <gspr@nonempty.org> | 2020-07-09 08:49:39 +0200 |
commit | a16b9471d7114ec08977479b7249efe747702b97 (patch) | |
tree | 692f3061d0329cad954206b2bf903ba3384403f0 /ot/plot.py | |
parent | 0812fcd82cbf11d444619e96c55ba507bc09ef5d (diff) | |
parent | 94d5c8cc9046854f473d8e4526a3bcf214eb5411 (diff) |
Merge tag '0.7.0' into dfsg/latest
Diffstat (limited to 'ot/plot.py')
-rw-r--r-- | ot/plot.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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() |