Commit Graph

7 Commits (ca6cefa36268e6e8fb5fa73d9898fd82789c2cb8)

Author SHA1 Message Date
Vinayak Mehta 1f71513004 Fix no table found warning and add tests for two tables 2018-11-23 19:28:55 +05:30
Suyash Behera c0e9235164 [MRG + 1] Create a new figure and test each plot type #127 (#179)
* [MRG] Create a new figure and test each plot type #127

 - move `plot()` to `plotting.py` as `plot_pdf()`
 - modify plotting functions to return matplotlib figures
 - add `test_plotting.py` and baseline images
 - import `plot_pdf()` in `__init__`
 - update `cli.py` to use `plot_pdf()`
 - update advanced usage docs to reflect changes

* Change matplotlib backend for image comparison tests

* Update plotting and tests
 - use matplotlib rectangle instead of `cv2.rectangle` in
`plot_contour()`
 - set matplotlib backend in `tests/__init__`
 - update contour plot baseline image
 - update `test_plotting` with more checks

* Update plot tests and config
 - remove unnecessary asserts
 - update setup.cfg and makefile with `--mpl`

* Add  to

* Add tolerance

* remove text from baseline plots
update plot tests with `remove_text`

* Change method name, update docs and add pep8

* Update docs
2018-11-02 20:57:02 +05:30
Vaibhav Mule 1ba0cfc7bc [MRG + 1] Run codecov only once (#132)
* Run codecov only once

* Update .travis.yml

* Update .travis.yml

* Add os based install to Makefile

* Add requests like .travis.yml and Makefile

* Add 'sudo: required' to .travis.yml

* Add before_install

* Make separate command
2018-10-11 23:36:36 +05:30
Vinayak Mehta e75045053a Remove Makefile 2018-09-09 05:36:45 +05:30
Vinayak Mehta dda809b286 Fix Makefile spaces to tabs 2016-08-08 17:26:54 +05:30
Vinayak Mehta 8ff04391b7 Add coveragerc and update Makefile 2016-08-08 17:24:13 +05:30
Vinayak Mehta 814d7b6939 Add Makefile 2016-08-08 16:32:05 +05:30