neurom.view.common.figure_naming

neurom.view.common.figure_naming(pretitle='', posttitle='', prefile='', postfile='')[source]

Helper function to define the strings that handle pre-post conventions for viewing - plotting title and saving options.

Parameters:
  • pretitle (str) – String to include before the general title of the figure.
  • posttitle (str) – String to include after the general title of the figure.
  • prefile (str) – String to include before the general filename of the figure.
  • postfile (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