We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7084b09 commit f751651Copy full SHA for f751651
mesa/examples/advanced/pd_grid/analysis.ipynb
@@ -35,7 +35,6 @@
35
"outputs": [],
36
"source": [
37
"import matplotlib.pyplot as plt\n",
38
- "import numpy as np\n",
39
"from model import PdGrid\n",
40
"\n",
41
"%matplotlib inline"
@@ -56,10 +55,9 @@
56
55
57
"from mesa.visualization.mpl_space_drawing import draw_space\n",
58
+ "\n",
59
"def agent_portroyal(agent):\n",
60
- " return {\"color\":\"red\" if agent.move == \"D\" else \"blue\",\n",
61
- " \"marker\":\"s\",\n",
62
- " \"size\":11}\n"
+ " return {\"color\": \"red\" if agent.move == \"D\" else \"blue\", \"marker\": \"s\", \"size\": 11}"
63
]
64
},
65
{
0 commit comments