camelot-py/tests/files
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
..
baseline_plots [MRG + 1] Create a new figure and test each plot type #127 (#179) 2018-11-02 20:57:02 +05:30
tabula Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
agstat.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
anticlockwise_table_1.pdf Port tests 2018-09-09 05:29:24 +05:30
anticlockwise_table_2.pdf Port tests 2018-09-09 05:29:24 +05:30
assam.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
background_lines_1.pdf Port tests 2018-09-09 05:29:24 +05:30
background_lines_2.pdf Port tests 2018-09-09 05:29:24 +05:30
blank.pdf [MRG] Add error/warning tests (#113) 2018-10-02 19:28:42 +05:30
budget.pdf Add CLI tests (#117) 2018-10-03 01:09:08 +05:30
budget_2014-15.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
clockwise_table_1.pdf Port tests 2018-09-09 05:29:24 +05:30
clockwise_table_2.pdf Port tests 2018-09-09 05:29:24 +05:30
column_span_1.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
column_span_2.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
district_health.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
electoral_roll.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
foo.csv [MRG] Add error/warning tests (#113) 2018-10-02 19:28:42 +05:30
foo.pdf [MRG] Add error/warning tests (#113) 2018-10-02 19:28:42 +05:30
health.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
health_protected.pdf [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
medicine.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
mexican_towns.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
missing_values.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
population_growth.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
rainfall_distribution.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
row_span_1.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
row_span_2.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
row_span_3.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
superscript.pdf [MRG] Add tests for output formats and parser kwargs (#126) 2018-10-05 16:15:30 +05:30
tableception.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
twotables_1.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30
twotables_2.pdf Remove examples and debug, restructure tests dir 2018-09-08 18:38:59 +05:30