Skip to content
Snippets Groups Projects
Commit 7559ac42 authored by Manuel Günther's avatar Manuel Günther
Browse files

Updated matplotlib version in travis

parent 56d62ee1
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ before_install: ...@@ -21,7 +21,7 @@ before_install:
- sudo apt-get install -qq --force-yes python-opencv libcv-dev libcvaux-dev libopencv-dev - sudo apt-get install -qq --force-yes python-opencv libcv-dev libcvaux-dev libopencv-dev
- if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq --force-yes libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi - if [ -n "${NUMPYSPEC}" ]; then sudo apt-get install -qq --force-yes libatlas-dev libatlas-base-dev liblapack-dev gfortran; fi
- if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi - if [ -n "${NUMPYSPEC}" ]; then pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel numpy$NUMPYSPEC; fi
- pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel matplotlib==1.3.0 sphinx nose==1.3.0 jinja2==2.6 cpp-coveralls pygments==1.6 - pip install --find-links http://wheels.astropy.org/ --find-links http://wheels2.astropy.org/ --use-wheel matplotlib==1.3.1 sphinx nose==1.3.0 jinja2==2.6 cpp-coveralls pygments==1.6
install: install:
- python bootstrap-buildout.py - python bootstrap-buildout.py
- CFLAGS=-coverage ./bin/buildout - CFLAGS=-coverage ./bin/buildout
......
...@@ -68,7 +68,7 @@ def pnpoly(point, vertices): ...@@ -68,7 +68,7 @@ def pnpoly(point, vertices):
return c return c
def is_inside(point, box, eps=1e-5): def is_inside(point, box, eps=1e-5):
"""Calculates, using matplotlib, if a point lies inside a bounding box""" """Calculates if a point lies inside a bounding box"""
(y, x, height, width) = box (y, x, height, width) = box
#note: vertices must be organized clockwise #note: vertices must be organized clockwise
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment