visualize
❭ dendrogram
❭ _DendrogramSynapseStatistics
❭ _plot_synapse_density_hist
_DendrogramSynapseStatistics._plot_synapse_density_hist¶
-
visualize.dendrogram._DendrogramSynapseStatistics._plot_synapse_density_hist(ax, xlim, binsize=
50
)¶ Plot the synapse density histogram on an
matplotlib.axes.Axes
object.If no colormap is provided during initialization, all synapses are plotted in red. If a colormap is provided, the synapses are plotted in the respective color.
Attention
If a colormap is provided, but does not contain all synapse types as they appear in
synapses
, the missing synapse types are omitted from the plot.