Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix annotate example in docs
  • Loading branch information
alexagv committed Oct 25, 2019
1 parent 6d42342 commit 7682859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wand/image.py
Expand Up @@ -2706,7 +2706,7 @@ def annotate(self, text, drawing_wand, left=0, baseline=0, angle=0):
ctx.font_size = 18
ctx.text_decoration = 'underline'
ctx.text_kerning = -1
img.annotate('Hello World', ctx, left=20, top=50)
img.annotate('Hello World', ctx, left=20, baseline=50)
img.save(filename='output.jpg')
:param text: String to annotate on image.
Expand Down

0 comments on commit 7682859

Please sign in to comment.