Skip to content

Commit 161f3ba

Browse files
committed
style: improve readability of plot_static_generations doctest example
1 parent c6426a6 commit 161f3ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cellular_automata/von_neumann.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,10 @@ def plot_static_generations(
466466
>>> history = simulate_von_neumann_cellular_automaton(
467467
... grid_rows=5, grid_columns=5, generations=10, random_seed=42
468468
... )
469-
>>> plot_static_generations(history, generations_to_show=[0, 2, 4, 6]) # doctest: +SKIP
469+
>>> plot_static_generations(
470+
... history,
471+
... generations_to_show=[0, 2, 4, 6], # doctest: +SKIP
472+
... )
470473
"""
471474
if not generation_history:
472475
raise ValueError("generation_history cannot be empty")

0 commit comments

Comments
 (0)