Skip to content

Commit

Permalink
* fix ruff errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tpike3 committed Apr 8, 2024
1 parent 431e503 commit 2e0a9bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "4f31395d-09c3-4479-8147-0dff9499cd71",
"metadata": {},
"outputs": [],
Expand All @@ -19,7 +19,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "27cac12c-515e-4ef4-83cc-d06918921c70",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -70,7 +70,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "9c9a9738-7e8f-458c-b0aa-cfc69c04ee87",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -130,7 +130,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "0bf74b4c-36ab-416c-a4db-ab5104189d92",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -173,28 +173,10 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "c8a2533e-95ba-4a2b-b21a-56e05fe3b7b2",
"metadata": {},
"outputs": [
{
"data": {
"application/vnd.jupyter.widget-view+json": {
"model_id": "75faa5310ac549a29e003cebcf4fa39b",
"version_major": 2,
"version_minor": 0
},
"text/html": [
"Cannot show widget. You probably want to rerun the code cell above (<i>Click in the code cell, and press Shift+Enter <kbd>⇧</kbd>+<kbd>↩</kbd></i>)."
],
"text/plain": [
"Cannot show ipywidgets in text"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"outputs": [],
"source": [
"page = mge.JupyterViz(\n",
" GeoSchelling,\n",
Expand Down
4 changes: 1 addition & 3 deletions gis/geo_schelling_experimental/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import mesa
import mesa_geo as mg
import mesa_geo.geoexperimental as mge
import xyzservices.providers as xyz
from model import GeoSchelling


Expand Down Expand Up @@ -69,4 +67,4 @@ def schelling_draw(agent):
center_point= [52,12]
)

page
page # noqa: B018

0 comments on commit 2e0a9bc

Please sign in to comment.