INNER CODE UNIT · Python
set_title
lgienapp/aquarel · aquarel/theme.py:377
def set_title(
self,
location: Optional[str] = None,
size: Optional[Union[float, str]] = None,
weight: Optional[Union[float, int, str]] = None,
pad: Optional[float] = None,
):
"""
Sets title styling options.
:param location: the location of the title, one of {left, right, center} default: 'center'
:param pad: pad between axes and title in pt, default: 6.0
:param size: the font size of the title, float or one of {'xx-small', 'x-small', 'small', 'medium', 'large',
'x-large', 'xx-large'}, default: 'large'
:param weight: the font weight of the title, int in range 0-1000 or one of {'ultralight', 'light', 'normal',
'regular', 'book', 'medium', 'roman', 'semibold', 'demibold', 'demi', 'bold', 'heavy', 'extra bold',
'black'}, default: "normal"
:return: self