From 889aabf45b5d07430aa3249bf860556e91ec24c6 Mon Sep 17 00:00:00 2001
From: didihou <didi.hou@rwth-aachen.de>
Date: Fri, 1 Sep 2023 11:39:14 +0200
Subject: [PATCH] /

---
 .../MAM2EBRAINS-checkpoint.py                  |  6 +++---
 figures/MAM2EBRAINS.py                         |  6 +++---
 multi-area-model.ipynb                         | 18 +++++++++++++++---
 3 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/figures/.ipynb_checkpoints/MAM2EBRAINS-checkpoint.py b/figures/.ipynb_checkpoints/MAM2EBRAINS-checkpoint.py
index 922e10c..6ba5b6e 100644
--- a/figures/.ipynb_checkpoints/MAM2EBRAINS-checkpoint.py
+++ b/figures/.ipynb_checkpoints/MAM2EBRAINS-checkpoint.py
@@ -85,9 +85,9 @@ def plot_resting_state(A):
 
     gs1 = gridspec.GridSpec(1, 3)
     gs1.update(left=0.06, right=0.72, top=0.95, wspace=0.4, bottom=0.35)
-    axes['A'] = pl.subplot(gs1[:-1, :1])
-    axes['B'] = pl.subplot(gs1[:-1, 1:2])
-    axes['C'] = pl.subplot(gs1[:-1, 2:])
+    axes['A'] = pl.subplot(gs1[:1, :1])
+    axes['B'] = pl.subplot(gs1[:1, 1:2])
+    axes['C'] = pl.subplot(gs1[:1, 2:])
 
     gs2 = gridspec.GridSpec(3, 1)
     gs2.update(left=0.78, right=0.95, top=0.95, bottom=0.35)
diff --git a/figures/MAM2EBRAINS.py b/figures/MAM2EBRAINS.py
index 922e10c..6ba5b6e 100644
--- a/figures/MAM2EBRAINS.py
+++ b/figures/MAM2EBRAINS.py
@@ -85,9 +85,9 @@ def plot_resting_state(A):
 
     gs1 = gridspec.GridSpec(1, 3)
     gs1.update(left=0.06, right=0.72, top=0.95, wspace=0.4, bottom=0.35)
-    axes['A'] = pl.subplot(gs1[:-1, :1])
-    axes['B'] = pl.subplot(gs1[:-1, 1:2])
-    axes['C'] = pl.subplot(gs1[:-1, 2:])
+    axes['A'] = pl.subplot(gs1[:1, :1])
+    axes['B'] = pl.subplot(gs1[:1, 1:2])
+    axes['C'] = pl.subplot(gs1[:1, 2:])
 
     gs2 = gridspec.GridSpec(3, 1)
     gs2.update(left=0.78, right=0.95, top=0.95, bottom=0.35)
diff --git a/multi-area-model.ipynb b/multi-area-model.ipynb
index 63a36af..1f297d6 100644
--- a/multi-area-model.ipynb
+++ b/multi-area-model.ipynb
@@ -1134,7 +1134,7 @@
     }
    ],
    "source": [
-    "plot_instan_mean_firing_rate(tsteps, rate, sim_params)"
+    "# plot_instan_mean_firing_rate(tsteps, rate, sim_params)"
    ]
   },
   {
@@ -1155,12 +1155,24 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 29,
    "id": "ae19bcc3",
    "metadata": {
     "tags": []
    },
-   "outputs": [],
+   "outputs": [
+    {
+     "ename": "TypeError",
+     "evalue": "plot_resting_state() takes 0 positional arguments but 1 was given",
+     "output_type": "error",
+     "traceback": [
+      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
+      "\u001b[0;31mTypeError\u001b[0m                                 Traceback (most recent call last)",
+      "Input \u001b[0;32mIn [29]\u001b[0m, in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m      1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mMAM2EBRAINS\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m plot_resting_state\n\u001b[0;32m----> 2\u001b[0m \u001b[43mplot_resting_state\u001b[49m\u001b[43m(\u001b[49m\u001b[43mA\u001b[49m\u001b[43m)\u001b[49m\n",
+      "\u001b[0;31mTypeError\u001b[0m: plot_resting_state() takes 0 positional arguments but 1 was given"
+     ]
+    }
+   ],
    "source": [
     "from MAM2EBRAINS import plot_resting_state\n",
     "plot_resting_state(A)"
-- 
GitLab