Skip to content

Commit f751651

Browse files
pre-commit-ci[bot]tpike3
authored andcommitted
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7084b09 commit f751651

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mesa/examples/advanced/pd_grid/analysis.ipynb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
"outputs": [],
3636
"source": [
3737
"import matplotlib.pyplot as plt\n",
38-
"import numpy as np\n",
3938
"from model import PdGrid\n",
4039
"\n",
4140
"%matplotlib inline"
@@ -56,10 +55,9 @@
5655
"source": [
5756
"from mesa.visualization.mpl_space_drawing import draw_space\n",
5857
"\n",
58+
"\n",
5959
"def agent_portroyal(agent):\n",
60-
" return {\"color\":\"red\" if agent.move == \"D\" else \"blue\",\n",
61-
" \"marker\":\"s\",\n",
62-
" \"size\":11}\n"
60+
" return {\"color\": \"red\" if agent.move == \"D\" else \"blue\", \"marker\": \"s\", \"size\": 11}"
6361
]
6462
},
6563
{

0 commit comments

Comments
 (0)