Skip to content

Conversation

@radarhere
Copy link
Member

If you look at this code

# 4 backgrounds: White, Grey, Black, Red
circles = [(255, 255, 255), (153, 153, 153), (0, 0, 0), (255, 0, 0)]
im_list = []
for circle in circles:
img = Image.new("RGB", (100, 100), (255, 0, 0))
# Red circle in center of each frame
d = ImageDraw.Draw(img)
d.ellipse([(40, 40), (60, 60)], fill=circle)

it is apparent that the comments are not accurate - circles is not the background color of the image, and the circle being drawn in the middle is not always red.

This PR updates the comments to fix that.

@hugovk hugovk added the automerge Automatically merge PRs that are ready label Jun 28, 2021
@mergify mergify bot merged commit b939ce4 into python-pillow:master Jun 28, 2021
@radarhere radarhere deleted the test_comments branch June 28, 2021 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge PRs that are ready Testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants