MorphTree.plotMorphologyInteractive(node_arg=None, use_radius=1, draw_soma_circle=1, plotargs={'c': 'k', 'lw': 1.0}, project3d=False)[source]

Show the morphology either in 3d or projected on the x,y-plane. When a line segment is clicked, the associated node is printed.

  • ax (matplotlib.axes.Axes instance) – the ax object on which the plot will be drawn

  • node_arg – see documentation of MorphTree._convertNodeArgToNodes

  • use_radius (bool) – If True, uses the swc radius for the width of the line segments

  • draw_soma_circle (bool) – If True, draws the soma as a circle, otherwise doesn’t draw soma