jsvine / pdfplumber

Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.
MIT License
6.31k stars 647 forks source link

Information about how to display without Jupyter #716

Closed josephernest closed 2 years ago

jsvine commented 2 years ago

Hiya, and thanks for the suggestion. I added some documentation re. im.show(), in https://github.com/jsvine/pdfplumber/commit/5c7787b771c9307ae92b3c00526bf076a0cc0f8f

Screen Shot 2022-08-22 at 7 39 05 PM

... currently visible in https://github.com/jsvine/pdfplumber/tree/develop

Does that suffice, or would you find it more helpful if non-Jupyter setups were more explicitly called-out?

josephernest commented 2 years ago

Hiya, and thanks for the suggestion. I added some documentation re. im.show(), in 5c7787b

Great!

... currently visible in https://github.com/jsvine/pdfplumber/tree/develop Does that suffice, or would you find it more helpful if non-Jupyter setups were more explicitly called-out?

IMHO this is too deep in the documentation and difficult to find when we start with pdfplumber.

Maybe here: https://github.com/jsvine/pdfplumber#basic-pageimage-methods

Or better here: https://github.com/jsvine/pdfplumber#creating-a-pageimage-with-to_image This paragraph here is only working for those using Jupyter, and others are a bit lost :)

jsvine commented 2 years ago

Thanks for those suggestions, @josephernest! Now updated on the develop branch to be a bit more explicit in the "Creating a PageImage" section: https://github.com/jsvine/pdfplumber/tree/develop#creating-a-pageimage-with-to_image