Skip to content

Commit

Permalink
"Reformatted per new black version"
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Mar 29, 2022
1 parent 5286438 commit d7c5116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/displayio_sh1107_game_of_life.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def apply_life_rule(old, new):


def randomize(output, fraction=0.33):
""" Fill 'fraction' out of all the cells. """
"""Fill 'fraction' out of all the cells."""
for i in range(output.height * output.width):
output[i] = random.random() < fraction

Expand Down

0 comments on commit d7c5116

Please sign in to comment.