Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and wang-boyu committed Sep 3, 2024
1 parent 6085091 commit 5ae3a58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gis/geo_schelling/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ def schelling_draw(agent):


happy_element = HappyElement()
map_element = mg.visualization.MapModule(
schelling_draw, tiles=xyz.CartoDB.Positron
)
map_element = mg.visualization.MapModule(schelling_draw, tiles=xyz.CartoDB.Positron)
happy_chart = mesa.visualization.ChartModule([{"Label": "happy", "Color": "Black"}])
server = mesa.visualization.ModularServer(
GeoSchelling, [map_element, happy_element, happy_chart], "Schelling", model_params
Expand Down

0 comments on commit 5ae3a58

Please sign in to comment.