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 tpike3 committed Jan 1, 2025
1 parent 7084b09 commit f751651
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions mesa/examples/advanced/pd_grid/analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"from model import PdGrid\n",
"\n",
"%matplotlib inline"
Expand All @@ -56,10 +55,9 @@
"source": [
"from mesa.visualization.mpl_space_drawing import draw_space\n",
"\n",
"\n",
"def agent_portroyal(agent):\n",
" return {\"color\":\"red\" if agent.move == \"D\" else \"blue\",\n",
" \"marker\":\"s\",\n",
" \"size\":11}\n"
" return {\"color\": \"red\" if agent.move == \"D\" else \"blue\", \"marker\": \"s\", \"size\": 11}"
]
},
{
Expand Down

0 comments on commit f751651

Please sign in to comment.