Skip to content

Commit 8f9fbef

Browse files
committed
fix(examples): use correct key for portrayal color
1 parent 4af660e commit 8f9fbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/bank_reserves/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def person_portrayal(agent):
4141
if agent.loans > 10:
4242
color = POOR_COLOR
4343

44-
portrayal["Color"] = color
44+
portrayal["color"] = color
4545

4646
return portrayal
4747

0 commit comments

Comments
 (0)