axon_population.plot

axon_population.plot(axes: Axes, expr: str | None = None, mask_labels: None | Iterable[str] | str = [], contour_color: str = 'k', myel_color: str = 'b', unmyel_color: str = 'r', num: bool = False, **kwgs)[source]

Plot the population geometry and placed axons in the transverse plane.

Parameters:
  • axes (matplotlib.axes.Axes) – Target axes.

  • expr (str | None, optional) – Optional pandas expression selecting a sub-population.

  • mask_labels (Iterable[str] | str | None, optional) – Existing mask labels selecting a sub-population.

  • contour_color (str, optional) – Color used for the geometry contour.

  • myel_color (str, optional) – Color used for myelinated axons.

  • unmyel_color (str, optional) – Color used for unmyelinated axons.

  • num (bool, optional) – If True, annotate each drawn axon with its index.

  • **kwgs (dict) – Additional plotting keyword arguments for the geometry contour.