Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated spacing defaults documentation #4368

Merged
merged 1 commit into from
Jan 18, 2020

Conversation

radarhere
Copy link
Member

Resolves #4367

Updates the defaults for spacing in the documentation, so that text and multiline_text
matches

Pillow/src/PIL/ImageDraw.py

Lines 263 to 270 in a520a43

def text(
self,
xy,
text,
fill=None,
font=None,
anchor=None,
spacing=4,
and

Pillow/src/PIL/ImageDraw.py

Lines 353 to 360 in a520a43

def multiline_text(
self,
xy,
text,
fill=None,
font=None,
anchor=None,
spacing=4,

For reference, itooks like #1574 just forgot to update the documentation.

@radarhere radarhere changed the title Updated spacing defaults Updated spacing defaults documentation Jan 17, 2020
@hugovk hugovk merged commit dbcc637 into python-pillow:master Jan 18, 2020
@hugovk
Copy link
Member

hugovk commented Jan 18, 2020

Thanks!

@radarhere radarhere deleted the imagedraw branch January 18, 2020 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation Error: Default Spacing in ImageDraw.text()
2 participants