mesa icon indicating copy to clipboard operation
mesa copied to clipboard

Easier way to run Mesa examples

Open rht opened this issue 3 years ago • 1 comments

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)

rht avatar Apr 03 '22 10:04 rht

I like this.

jackiekazil avatar Apr 21 '22 04:04 jackiekazil