Skip to content

Commit ea3869f

Browse files
Update cellular_automata/wa_tor.py
Co-authored-by: Tianyi Zheng <[email protected]>
1 parent 9f23c25 commit ea3869f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cellular_automata/wa_tor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def display_visually(wt: WaTor, iter_number: int, *, colour: bool = True) -> Non
556556
if entity is None:
557557
output += " . "
558558
else:
559-
if colour is True:
559+
if colour:
560560
output += (
561561
"\x1b[38;2;96;241;151m"
562562
if entity.prey

0 commit comments

Comments
 (0)