neurom.view.common.plot_labels

neurom.view.common.plot_labels(fig, ax, **kwargs)

Function that defines the labels options of a matplotlib plot.

Parameters:
  • fig – matplotlib figure
  • ax – matplotlib axes
  • xlabel (Optional[str]) – The xlabel for the figure. For no_xlabel set to ‘’. Default value is “X”.
  • ylabel (Optional[str]) – The xlabel for the figure. For no_ylabel set to ‘’. Default value is “Y”.
  • zlabel (Optional[str]) – The zlabel for the figure. For no_zlabel set to ‘’. Default value is “Z”.
  • label_fontsize (Optional[int]) – Defines the size of the labels’ font. Default value is 14.
  • xlabel_arg (Optional[dict]) – Defines the arguments that will be passsed into matplotlib as xlabel arguments. Default value is None.
  • ylabel_arg (Optional[dict]) – Defines the arguments that will be passsed into matplotlib as ylabel arguments. Default value is None.
  • zlabel_arg (Optional[dict]) – Defines the arguments that will be passsed, into matplotlib as zlabel arguments. Default value is None.
Returns:

Matplotlib figure, axes