added import of pil in .travis, removed plots

master
pbrod 9 years ago
parent a855fcb0e9
commit 9964d2437b

@ -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

@ -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()
'''

Loading…
Cancel
Save