Skip to content

Commit

Permalink
simplify anchor example image
Browse files Browse the repository at this point in the history
  • Loading branch information
nulano committed Oct 4, 2020
1 parent d22608b commit 6b8d8ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file modified docs/example/anchors.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions docs/example/anchors.py
Expand Up @@ -8,8 +8,7 @@ def test(anchor):
d = ImageDraw.Draw(im)
d.line(((100, 0), (100, 100)), "gray")
d.line(((0, 50), (200, 50)), "gray")
d.text((100, 50), "Sample", "black", font, anchor)
d.text((10, 100), "anchor=%s" % anchor, "gray", font, "ld")
d.text((100, 50), f"{anchor} example", "black", font, anchor)
return im


Expand Down

0 comments on commit 6b8d8ac

Please sign in to comment.