Skip to content
Snippets Groups Projects
Commit d94eca34 authored by Nikolai's avatar Nikolai
Browse files

option to turn off global norm for all neuron profile plots

parent f7782a75
No related branches found
No related tags found
No related merge requests found
......@@ -244,6 +244,7 @@ def plot_profile_2D_all(plotname, model, events,
zrange=None, logz=False,
plot_last_layer=False,
log_default_ymin=1e-5,
global_norm=True,
cmap="inferno", **kwargs):
"Similar to plot_profile_2D, but creates a grid of plots for all neurons."
......@@ -320,6 +321,8 @@ def plot_profile_2D_all(plotname, model, events,
if zrange is None:
kwargs["norm"].vmin = global_min
kwargs["norm"].vmax = global_max
if not global_norm:
kwargs["norm"] = None
im = ax.pcolormesh(*args, **kwargs)
ax.set_facecolor("black")
if varx_label is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment