Skip to content

Correct example code in "Overview of the MESA library"#2781

Merged
tpike3 merged 5 commits intomesa:mainfrom
UniK-INES:doc_typofix_tutorials
May 17, 2025
Merged

Correct example code in "Overview of the MESA library"#2781
tpike3 merged 5 commits intomesa:mainfrom
UniK-INES:doc_typofix_tutorials

Conversation

@Holzhauer
Copy link
Copy Markdown
Contributor

Summary

Example code in "Overview of the MESA library" ("Here’s a basic example of how to set up a visualization:") was not operational.

Bug / Issue

Parameter in model_params named "N" instead of "n_agents", passing class instead of instance to SolaraViz().

Implementation

Example code is corrected.

Copy link
Copy Markdown
Member

@tpike3 tpike3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @Holzhauer

@tpike3 tpike3 merged commit 42f607b into mesa:main May 17, 2025
3 checks passed
@tpike3 tpike3 added the docs Release notes label label May 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Release notes label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants