projectmesa/mesa

agent_portrayal isn't changing color of agent in Jupyter visualization

apandey16 opened this issue · 1 comments

Describe the bug
When passing in agent_portrayal to the Jupyter visualization function( JupyterViz) the agents in the chart are all the standard Blue color.

Expected behavior
Different agents should have different colors on the chart.

To Reproduce
Link [https://github.com/apandey16/csc480_multi_agents/blob/f5c5721c358a1355f3903b283332422250309913/predator_prey.py#L249-L279]

Additional context
This was the case using VSCode's internal Jupyter Notebook and launching Jupyter Lab from the command line
Screenshot 2024-04-17 at 8 59 40 AM

Looks like there was an issue due to case sensitivity