Skip to content
Snippets Groups Projects
Commit b5025e1b authored by Didi Hou's avatar Didi Hou Committed by Administrator
Browse files

/

parent 6f1052ec
No related branches found
No related tags found
1 merge request!35Pre-release MAM v1.1.0
This diff is collapsed.
......@@ -18,7 +18,7 @@ ecolor = myblue
# Instantaneous and mean firing rate across all populations
def plot_instan_mean_firing_rate(tsteps, rate, sim_params):
ax = pl.subplots()
ax = pl.subplot()
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')
......
......@@ -18,7 +18,7 @@ ecolor = myblue
# Instantaneous and mean firing rate across all populations
def plot_instan_mean_firing_rate(tsteps, rate, sim_params):
ax = pl.subplots()
ax = pl.subplot()
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')
......
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment