Skip to content

Commit

Permalink
ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel committed Oct 21, 2024
1 parent 71de07c commit 2a49ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesa/visualization/components/altair.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def _get_agent_data_continuous_space(space: ContinuousSpace, agent_portrayal):
list of dicts
"""
all_agent_data = []
for agent in space._agent_to_index.keys():
for agent in space._agent_to_index:
agent_data = agent_portrayal(agent)
agent_data["x"] = agent.pos[0]
agent_data["y"] = agent.pos[1]
Expand Down

0 comments on commit 2a49ee0

Please sign in to comment.