plot_morphology

visualize.plot_morphology(fn, **kwargs)

Plot a Morphology file using matplotlib.

Instatiate a CellMorphologyVisualizer object to plot a morphology from a Morphology file.

Parameters:
fn : str

The path to the Morphology file

**kwargs

additional arguments to pass to plot()

Returns:

The figure object

Return type:

Figure

Example:

from visualize import plot_hoc
fn = "getting_started/example_data/anatomical_constraints/86_C2_center.hoc"
plot_hoc(fn)
../../_images/86_hoc.png