Change table to grid (#196)

pull/2/head
Vinayak Mehta 2018-11-06 19:18:45 +05:30 committed by GitHub
parent b310f16dba
commit cd3aa38f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ Let's plot the table (to see if it was detected correctly or not). This plot typ
:: ::
>>> camelot.plot(tables[0], kind='table') >>> camelot.plot(tables[0], kind='grid')
>>> plt.show() >>> plt.show()
.. figure:: ../_static/png/plot_table.png .. figure:: ../_static/png/plot_table.png
@ -284,7 +284,7 @@ Let's plot the table for this PDF.
:: ::
>>> tables = camelot.read_pdf('short_lines.pdf') >>> tables = camelot.read_pdf('short_lines.pdf')
>>> camelot.plot(tables[0], kind='table') >>> camelot.plot(tables[0], kind='grid')
>>> plt.show() >>> plt.show()
.. figure:: ../_static/png/short_lines_1.png .. figure:: ../_static/png/short_lines_1.png
@ -296,7 +296,7 @@ Clearly, the smaller lines separating the headers, couldn't be detected. Let's t
:: ::
>>> tables = camelot.read_pdf('short_lines.pdf', line_size_scaling=40) >>> tables = camelot.read_pdf('short_lines.pdf', line_size_scaling=40)
>>> camelot.plot(tables[0], kind='table') >>> camelot.plot(tables[0], kind='grid')
>>> plt.show() >>> plt.show()
.. figure:: ../_static/png/short_lines_2.png .. figure:: ../_static/png/short_lines_2.png