diff --git a/cellular_automata/wa_tor.py b/cellular_automata/wa_tor.py index c32f7c02e..33f02c1a8 100644 --- a/cellular_automata/wa_tor.py +++ b/cellular_automata/wa_tor.py @@ -540,7 +540,7 @@ def display_visually(wt: WaTor, iter_number: int, *, colour: bool = True) -> Non Iteration: 0 | Prey count: 2 | Predator count: 3 | """ - if colour is True: + if colour: __import__("os").system("") print("\x1b[0;0H\x1b[2J\x1b[?25l")