Skip to content

Commit 37a4909

Browse files
Spartan-71tpike3
authored andcommitted
style: formatted
1 parent eeb74c4 commit 37a4909

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

examples/termites/app.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515

1616
def agent_portrayal(agent):
17-
return {"marker": ">", "color": "red" if agent.has_woodchip else "black", "size": 10}
17+
return {
18+
"marker": ">",
19+
"color": "red" if agent.has_woodchip else "black",
20+
"size": 10,
21+
}
1822

1923

2024
model_params = {

examples/termites/termites/model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ def __init__(
4343

4444
# Create agents and randomly distribute them over the grid
4545
Termite.create_agents(
46-
model = self,
47-
n = self.num_termites,
48-
cell = self.random.sample(self.grid.all_cells.cells, k=self.num_termites),
46+
model=self,
47+
n=self.num_termites,
48+
cell=self.random.sample(self.grid.all_cells.cells, k=self.num_termites),
4949
)
5050

5151
def step(self):

0 commit comments

Comments
 (0)