Beautiful Titles
Creates text in two levels to comment and separate themes.
This component is used to highlight text.
The input variables are:
title: str
subtitle: str
Example of use:
s.plt.html(
order=0,
html=s.html_components.create_h1_title(
title='Easy-to-use AI',
subtitle='Build a model to predict outcomes!'
)
)

It can be resized and positioned with the use of padding
:
s.plt.html(
order=1,
cols_size=4,
padding='0,0,0,8',
html=s.html_components.create_h1_title(
title='Easy-to-use AI',
subtitle='Build a model to predict probabilities!'
)
)

padding='0,0,0,8'
to position the component.More on how to use the Grid.
Video demonstration
Last updated
Was this helpful?