axon_population.hist

axon_population.hist(axes: Axes, expr: str | None = None, mask_labels: None | Iterable[str] | str = [], myel_color: str = 'b', unmyel_color: str = 'r', **kwgs)[source]

Plot an histogram of axon diamters in the population

Parameters:
  • axes (matplotlib.Axes) – axes of the figure to display the histogram.

  • expr (str | None, optional) – Subpopulation to plot, by default None.

  • mask_labels (None | Iterable[str] | str, optional) – Subpopulation to plot, by default [].

  • myel_color (str, optional) – Color of myelinated axons bins, by default “b”.

  • unmyel_color (str, optional) – Color of unmyelinated axons bins, by default “r”.