From 9964d2437b605549616468d90bc4fbefb8426c5b Mon Sep 17 00:00:00 2001 From: pbrod Date: Fri, 27 May 2016 12:38:20 +0200 Subject: [PATCH] added import of pil in .travis, removed plots --- .travis.yml | 2 +- wafo/containers.py | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index c7de9db..9ea6bb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,7 @@ before_install: - sudo apt-get install gfortran # Install packages install: - - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy pytest matplotlib nose pytest-pep8 pytest-cov mpmath + - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy pytest matplotlib nose pytest-pep8 pytest-cov mpmath pil - pip install numdifftools - pip install coveralls - pip install codecov diff --git a/wafo/containers.py b/wafo/containers.py index 24ba657..70a7133 100644 --- a/wafo/containers.py +++ b/wafo/containers.py @@ -64,14 +64,16 @@ class PlotData(object): # Plot 2 objects in one call >>> d2 = PlotData(np.sin(x), x, xlab='x', ylab='sin', title='sinus') - >>> h = d2.plot() - >>> h1 = d2() + + h = d2.plot() + h1 = d2() Plot with confidence interval >>> d3 = PlotData(np.sin(x), x) >>> d3.children = [PlotData(np.vstack([np.sin(x)*0.9, np.sin(x)*1.2]).T,x)] >>> d3.plot_args_children=[':r'] - >>> h = d3.plot() + + h = d3.plot() '''