In [19]:
from neurom.view.plotly import draw
import neurom
from pathlib import Path

path = Path(os.path.dirname(neurom.__file__),'../test_data/valid_set/Neuron.swc')
neuron = neurom.load_neuron(path)

3D plot


In [20]:
draw(neuron, inline=True)


2D plot


In [21]:
draw(neuron, plane='xy', inline=True)