autogalaxy.plot.YLabel#
- class YLabel[source]#
Bases:
AbstractLabel
The settings used to customize the figure’s title and y and x labels.
This object wraps the following Matplotlib methods:
plt.ylabel: https://matplotlib.org/3.3.2/api/_as_gen/matplotlib.pyplot.ylabel.html
plt.xlabel: https://matplotlib.org/3.3.2/api/_as_gen/matplotlib.pyplot.xlabel.html
The y and x labels will automatically be set if not specified, using the input units.
- Parameters
units – The units the data is plotted using.
manual_label – A manual label which overrides the default computed via the units if input.
Methods
label_from
Returns the label of an object, by determining it from the figure units if the label is not manually specified.
Set the y labels of the figure, including the fontsize.
Attributes
config_dict
config_folder