Skip to content
Snippets Groups Projects
Commit dd0884a7 authored by didihou's avatar didihou Committed by Administrator
Browse files

/

parent 30a4406a
No related branches found
No related tags found
1 merge request!35Pre-release MAM v1.1.0
...@@ -34,7 +34,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords): ...@@ -34,7 +34,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords):
matrix = np.zeros((len(area_list), len(A.network.structure['V1']))) matrix = np.zeros((len(area_list), len(A.network.structure['V1'])))
fig = plt.figure(figsize=(12, 8)) fig = plt.figure(figsize=(16, 4))
ax = fig.add_subplot(111) ax = fig.add_subplot(111)
for i, area in enumerate(area_list): for i, area in enumerate(area_list):
...@@ -73,7 +73,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords): ...@@ -73,7 +73,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords):
# ax.set_xticks(x_index) # ax.set_xticks(x_index)
ax.set_xticks([i + 0.5 for i in np.arange(0, len(area_list), 1)]) ax.set_xticks([i + 0.5 for i in np.arange(0, len(area_list), 1)])
# ax.set_xticklabels(x_ticks) # ax.set_xticklabels(x_ticks)
ax.set_xticklabels(area_list, size=10.) ax.set_xticklabels(area_list, rotation=90, size=10.)
ax.set_yticks(y_index) ax.set_yticks(y_index)
# ax.set_yticklabels(A.network.structure_reversed['V1']) # ax.set_yticklabels(A.network.structure_reversed['V1'])
ax.set_yticklabels(A.network.structure['V1'][::-1]) ax.set_yticklabels(A.network.structure['V1'][::-1])
......
...@@ -34,7 +34,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords): ...@@ -34,7 +34,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords):
matrix = np.zeros((len(area_list), len(A.network.structure['V1']))) matrix = np.zeros((len(area_list), len(A.network.structure['V1'])))
fig = plt.figure(figsize=(12, 8)) fig = plt.figure(figsize=(16, 4))
ax = fig.add_subplot(111) ax = fig.add_subplot(111)
for i, area in enumerate(area_list): for i, area in enumerate(area_list):
...@@ -73,7 +73,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords): ...@@ -73,7 +73,7 @@ def plot_time_averaged_population_rates(M, area_list=None, **keywords):
# ax.set_xticks(x_index) # ax.set_xticks(x_index)
ax.set_xticks([i + 0.5 for i in np.arange(0, len(area_list), 1)]) ax.set_xticks([i + 0.5 for i in np.arange(0, len(area_list), 1)])
# ax.set_xticklabels(x_ticks) # ax.set_xticklabels(x_ticks)
ax.set_xticklabels(area_list, size=10.) ax.set_xticklabels(area_list, rotation=90, size=10.)
ax.set_yticks(y_index) ax.set_yticks(y_index)
# ax.set_yticklabels(A.network.structure_reversed['V1']) # ax.set_yticklabels(A.network.structure_reversed['V1'])
ax.set_yticklabels(A.network.structure['V1'][::-1]) ax.set_yticklabels(A.network.structure['V1'][::-1])
......
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