Skip to content

Interactive maps and charts are not showing #114

Answered by wang-boyu
shahab-valaei asked this question in Q&A
Discussion options

You must be logged in to vote

Oh I get it - #109 is merged but not yet released, so there is a mismatch between the source code and the released version.

In the source code the examples are using ModulerServer from mesa:

server = mesa.visualization.ModularServer(
    GeoSchelling, [map_element, happy_element, happy_chart], "Schelling", model_params
)

But this change (#112) is not yet released to PyPI.

So to make things in sync, either:

  1. In the cloned repo, do pip install ., or
  2. In the cloned repo, do git checkout v0.3.0 and pip install mesa-geo.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@shahab-valaei
Comment options

Answer selected by shahab-valaei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants