neurom.view.view.plot_soma¶
-
neurom.view.view.
plot_soma
(ax, soma, plane='xy', soma_outline=True, linewidth=1.2, color=None, alpha=0.8)[source]¶ Generates a 2d figure of the soma.
Parameters: - ax (matplotlib axes) – on what to plot
- soma (neurom.core.Soma) – plotted soma
- plane (str) – Any pair of ‘xyz’
- diameter_scale (float) – Scale factor multiplied with segment diameters before plotting
- linewidth (float) – all segments are plotted with this width, but only if diameter_scale=None
- color (str or None) – Color of plotted values, None corresponds to default choice
- alpha (float) – Transparency of plotted values