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

Easier way to run Mesa examples #1228

Open
rht opened this issue Apr 3, 2022 · 1 comment
Open

Easier way to run Mesa examples #1228

rht opened this issue Apr 3, 2022 · 1 comment

Comments

@rht
Copy link
Contributor

rht commented Apr 3, 2022

Consider if we can do this for Mesa examples:

import mesa.examples

schelling = mesa.examples.Schelling
schelling.ensure_dependencies()  # will pip install the requirements
schelling.run()
# Without GUI
schelling.run(gui=False)
@jackiekazil
Copy link
Member

I like this.

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

2 participants