diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-24 17:38:01 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-24 17:38:01 +0200 |
commit | 4bbabc602678a0227bfe9ffae4bbb4caab8a3767 (patch) | |
tree | a2d7c4ce09f137d7c23d5a198acd4cffca77656d /examples/gromov | |
parent | a54775103541ea37f54269de1ba1e1396a6d7b30 (diff) |
relative path exmaples
Diffstat (limited to 'examples/gromov')
-rwxr-xr-x | examples/gromov/plot_gromov_barycenter.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/gromov/plot_gromov_barycenter.py b/examples/gromov/plot_gromov_barycenter.py index 6b29687..f6f031a 100755 --- a/examples/gromov/plot_gromov_barycenter.py +++ b/examples/gromov/plot_gromov_barycenter.py @@ -89,10 +89,10 @@ def im2mat(I): return I.reshape((I.shape[0] * I.shape[1], I.shape[2]))
-square = pl.imread('../data/square.png').astype(np.float64)[:, :, 2]
-cross = pl.imread('../data/cross.png').astype(np.float64)[:, :, 2]
-triangle = pl.imread('../data/triangle.png').astype(np.float64)[:, :, 2]
-star = pl.imread('../data/star.png').astype(np.float64)[:, :, 2]
+square = pl.imread('../../data/square.png').astype(np.float64)[:, :, 2]
+cross = pl.imread('../../data/cross.png').astype(np.float64)[:, :, 2]
+triangle = pl.imread('../../data/triangle.png').astype(np.float64)[:, :, 2]
+star = pl.imread('../../data/star.png').astype(np.float64)[:, :, 2]
shapes = [square, cross, triangle, star]
|