neurom.view.common.figure_naming¶
-
neurom.view.common.
figure_naming
(pretitle=None, posttitle=None, prefile=None, postfile=None)¶ Helper function to define the strings that handle pre-post conventions for viewing - plotting title and saving options.
Parameters: - pretitle (Optional[str]) – String to include before the general title of the figure.
- posttitle (Optional[str[) – String to include after the general title of the figure.
- prefile (Optional[str]) – String to include before the general filename of the figure.
- postfile (Optional[str]) – String to include after the general filename of the figure.
Returns: String to include in the figure name and title, in a suitable form.
Return type: str