Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent_portrayal isn't changing color of agent in Jupyter visualization #2113

Closed
apandey16 opened this issue Apr 17, 2024 · 1 comment
Closed

Comments

@apandey16
Copy link

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

@apandey16
Copy link
Author

Looks like there was an issue due to case sensitivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant