camelot-py/camelot
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
..
parsers Renames the keyword `table_area` to `table_areas` (#171) 2018-10-24 23:06:53 +05:30
__init__.py [MRG + 1] Create a new figure and test each plot type #127 (#179) 2018-11-02 20:57:02 +05:30
__main__.py [MRG + 1] Add __main__ (#159) 2018-10-23 15:01:20 +05:30
__version__.py Bump version 2018-10-28 22:37:33 +05:30
cli.py [MRG + 1] Create a new figure and test each plot type #127 (#179) 2018-11-02 20:57:02 +05:30
core.py [MRG + 1] Create a new figure and test each plot type #127 (#179) 2018-11-02 20:57:02 +05:30
handlers.py [MRG + 1] Create a new figure and test each plot type #127 (#179) 2018-11-02 20:57:02 +05:30
image_processing.py [MRG + 1] Make pep8 (#125) 2018-10-05 16:55:43 +05:30
io.py [MRG + 1] Add basic support for encrypted PDF files (#180) 2018-10-28 22:01:10 +05:30
plotting.py [MRG + 1] Create a new figure and test each plot type #127 (#179) 2018-11-02 20:57:02 +05:30
utils.py [MRG + 1] Make pep8 (#125) 2018-10-05 16:55:43 +05:30