From e11b1d1a77f201896fd3f70bc5b910e99610e951 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Mon, 24 Jul 2017 17:08:25 +0200 Subject: test plot with no X --- test/test_plot.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/test_plot.py b/test/test_plot.py index 8916a85..69789fa 100644 --- a/test/test_plot.py +++ b/test/test_plot.py @@ -1,13 +1,14 @@ -import ot import numpy as np - -# import pytest +import matplotlib +matplotlib.use('Agg') def test_plot1D_mat(): + import ot + n = 100 # nb bins # bin positions @@ -26,6 +27,8 @@ def test_plot1D_mat(): def test_plot2D_samples_mat(): + import ot + n = 50 # nb samples mu_s = np.array([0, 0]) -- cgit v1.2.3