Skip to content

visual debugging not working in jupyter note book #533

Answered by jsvine
sunday-will asked this question in Q&A
Discussion options

You must be logged in to vote

Instead of what you have in the screenshot, try this, with im as the final value in the cell, outside the with block:

import pdfplumber

with pdfplumber.open('xxxx.pdf') as pdf:
  p = pdf.pages[0]
  im = p.to_image()

im

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sunday-will
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants