-
Hello! I am trying to center an image in a pdf. https://pyfpdf.github.io/fpdf2/fpdf/fpdf.html#fpdf.fpdf.FPDF.image says I can use the
I tried doing this and got a NameError: Error:
I am learning Python so I might have made a beginner error.
|
Beta Was this translation helpful? Give feedback.
Answered by
Lucas-C
Mar 20, 2023
Replies: 1 comment 3 replies
-
Hi @atsaloli! from fpdf import Align |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
atsaloli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @atsaloli!
You are simply missing an import, no big deal: