neurom.view.common.plot_legend¶
-
neurom.view.common.
plot_legend
(fig, ax, **kwargs)¶ Function that defines the legend options of a matplotlib plot.
Parameters: - fig (matplotlib figure) –
- ax (matplotlib axes) –
- Options –
- ------- –
- no_legend (boolean) – Defines the presence of a legend in the figure. If True the legend will not be included in the Figure. Default value is True.
- legend_arg (dict) – Defines the arguments that will be passsed into matplotlib as legend arguments. Default value is None.
Returns: figure_output
Return type: figure, axes