Update docs for process_color_background
parent
2ebd6073c0
commit
9161ef3822
|
|
@ -33,6 +33,19 @@ To process background lines, you can pass ``process_background=True``.
|
|||
.. csv-table::
|
||||
:file: ../_static/csv/background_lines.csv
|
||||
|
||||
If there's too little contrast between the table background color and the document background color, you can try combining the experimental option ``process_color_background=True``.
|
||||
|
||||
::
|
||||
|
||||
>>> tables = camelot.read_pdf('background_lines.pdf', process_background=True, process_color_background=True)
|
||||
>>> tables[1].df
|
||||
|
||||
.. tip::
|
||||
Here's how you can do the same with the :ref:`command-line interface <cli>`.
|
||||
::
|
||||
|
||||
$ camelot lattice -back -color background_lines.pdf
|
||||
|
||||
Visual debugging
|
||||
----------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue