From a26bc4310d9f345218ac25e43c752eb62459532e Mon Sep 17 00:00:00 2001
From: Didi Hou <d.hou@outlook.com>
Date: Fri, 1 Sep 2023 16:14:09 +0200
Subject: [PATCH] update MAM2EBRAINS.py

---
 figures/MAM2EBRAINS.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/figures/MAM2EBRAINS.py b/figures/MAM2EBRAINS.py
index afa764b..922e10c 100644
--- a/figures/MAM2EBRAINS.py
+++ b/figures/MAM2EBRAINS.py
@@ -18,7 +18,7 @@ ecolor = myblue
 
 # Instantaneous and mean firing rate across all populations
 def plot_instan_mean_firing_rate(tsteps, rate, sim_params):
-    fig, ax = pl.subplots()
+    ax = pl.subplots()
     ax.plot(tsteps, rate)
     ax.plot(tsteps, np.average(rate)*np.ones(len(tsteps)), label='mean')
     ax.set_title('Instantaneous and mean firing rate across all populations')
@@ -67,7 +67,7 @@ def set_boxplot_props(d):
     pl.setp(d['means'], marker='x', color='k',
             markerfacecolor='k', markeredgecolor='k', markersize=3.)
 
-def plot_resting_state():   
+def plot_resting_state(A):   
     """
     Figure layout
     """
-- 
GitLab