@cli.command()<EOL>@click.argument('<STR_LIT>')<EOL>@click.option('<STR_LIT>', type=click.Choice(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']),<EOL>default='<STR_LIT>')<EOL>@click.option('<STR_LIT>', type=click.Choice(['<STR_LIT>', '<STR_LIT>']),<EOL>default='<STR_LIT>')<EOL>def view(input_file, plane, backend):
if backend == '<STR_LIT>':<EOL><INDENT>from neurom.viewer import draw<EOL>kwargs = {<EOL>'<STR_LIT>': '<STR_LIT>' if plane == '<STR_LIT>' else '<STR_LIT>',<EOL>}<EOL>if plane != '<STR_LIT>':<EOL><INDENT>kwargs['<STR_LIT>'] = plane<EOL><DEDENT>draw(load_neuron(input_file), **kwargs)<EOL><DEDENT>else:<EOL><INDENT>from neurom.view.plotly import draw<EOL>draw(load_neuron(input_file), plane=plane)<EOL><DEDENT>if backend == '<STR_LIT>':<EOL><INDENT>import matplotlib.pyplot as plt<EOL>plt.show()<EOL><DEDENT>
A simple neuron viewer