neurom.view.common.plot_title¶
-
neurom.view.common.
plot_title
(fig, ax, **kwargs)¶ Function that defines the title options of a matplotlib plot.
Parameters: - fig – matplotlib figure
- ax – matplotlib axes
- pretitle (Optional[str]) – String to include before the general title of the figure. Default value is None.
- posttitle (Optional[str]) – String to include after the general title of the figure. Default value is None.
- title (Optional[str]) – Set the title for the figure. If “” no title will be added. Default value is “Figure”.
- title_fontsize (Optional[int]) – Defines the size of the title’s font. Default value is 14.
- title_arg (Optional[dict]) – Defines the arguments that will be passsed into matplotlib as title arguments. Default value is None.
Returns: Matplotlib figure, axes