Plot a hoc file using matplotlib.
Instatiate a CellMorphologyVisualizer
object to plot a morphology from a .hoc file.
- Parameters:
hoc_file (str) – The path to the .hoc file
show (bool) – Whether to show the plot
**kwargs – additional arguments to pass to CellMorphologyVisualizer.plot()
- Returns:
The figure object
- Return type:
matplotlib.pyplot.Figure