WrightTools.artists.set_ax_labels

WrightTools.artists.set_ax_labels(ax=None, xlabel=None, ylabel=None, xticks=None, yticks=None, label_fontsize=18)[source]

Set all axis labels properties easily.

Parameters:
  • ax (matplotlib AxesSubplot object (optional)) – Axis to set. If None, uses current axis. Default is None.
  • xlabel (None or string (optional)) – x axis label. Default is None.
  • ylabel (None or string (optional)) – y axis label. Default is None.
  • xticks (None or False or list of numbers) – xticks. If False, ticks are hidden. Default is None.
  • yticks (None or False or list of numbers) – yticks. If False, ticks are hidden. Default is None.
  • label_fontsize (number) – Fontsize of label. Default is 18.

See also

set_fig_labels()