neurom.view.common.plot_labels

neurom.view.common.plot_labels(ax, label_fontsize=14, xlabel=None, xlabel_arg=None, ylabel=None, ylabel_arg=None, zlabel=None, zlabel_arg=None)[source]

Sets the labels options of a matplotlib plot

Parameters:
  • ax – matplotlib axes
  • label_fontsize (int) – Size of the labels’ font
  • xlabel (str) – The xlabel for the figure
  • xlabel_arg (dict) – Passsed into matplotlib as xlabel arguments
  • ylabel (str) – The ylabel for the figure
  • ylabel_arg (dict) – Passsed into matplotlib as ylabel arguments
  • zlabel (str) – The zlabel for the figure
  • zlabel_arg (dict) – Passsed into matplotlib as zlabel arguments