neurom.view.plotly_impl

Morphology draw functions using plotly.

Functions

get_figure(morph, plane, title)

Returns the plotly figure containing the morphology.

plot_morph(morph[, plane, inline])

Draw morphology in 2D.

plot_morph3d(morph[, inline])

Draw morphology in 3D.

neurom.view.plotly_impl.get_figure(morph, plane, title)

Returns the plotly figure containing the morphology.

neurom.view.plotly_impl.plot_morph(morph, plane='xy', inline=False, **kwargs)

Draw morphology in 2D.

Parameters:
  • morph (Morphology|Section) – morphology or section

  • plane (str) – a string representing the 2D plane (example: ‘xy’)

  • inline (bool) – must be set to True for interactive ipython notebook plotting

  • **kwargs – additional plotly keyword arguments

neurom.view.plotly_impl.plot_morph3d(morph, inline=False, **kwargs)

Draw morphology in 3D.

Parameters:
  • morph (Morphology|Section) – morphology or section

  • inline (bool) – must be set to True for interactive ipython notebook plotting

  • **kwargs – additional plotly keyword arguments