Skip to content

Commit

Permalink
change 'set_pos' to 'with_position'
Browse files Browse the repository at this point in the history
change 'set_pos' to 'with_position' in 'moveLetters' function
  • Loading branch information
AhmedElwerdany committed Oct 2, 2022
1 parent 18e9f57 commit 7adf0c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/moving_letters.py
Expand Up @@ -61,7 +61,7 @@ def vortexout(screenpos, i, nletters): # noqa D103

def moveLetters(letters, funcpos): # noqa D103
return [
letter.set_pos(funcpos(letter.screenpos, i, len(letters)))
letter.with_position(funcpos(letter.screenpos, i, len(letters)))
for i, letter in enumerate(letters)
]

Expand Down

0 comments on commit 7adf0c1

Please sign in to comment.