WrightTools.artists.set_fig_labels
- WrightTools.artists.set_fig_labels(fig=None, xlabel=None, ylabel=None, xticks=None, yticks=None, title=None, row=-1, col=0, label_fontsize=18, title_fontsize=20)[source]
Set all axis labels of a figure simultaniously.
Only plots ticks and labels for edge axes.
- Parameters:
fig (matplotlib.figure.Figure object (optional)) – Figure to set labels of. If None, uses current figure. 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 (optional)) – xticks. If False, ticks are hidden. Default is None.
yticks (None or False or list of numbers (optional)) – yticks. If False, ticks are hidden. Default is None.
title (None or string (optional)) – Title of figure. Default is None.
row (integer or slice (optional)) – Row to label. Default is -1. If slice, step is ignored.
col (integer or slice (optional)) – col to label. Default is 0. If slice, step is ignored.
label_fontsize (number (optional)) – Fontsize of label. Default is 18.
title_fontsize (number (optional)) – Fontsize of title. Default is 20.
See also