Comment on page
iFrame
An IFrame (Inline Frame) is an HTML document embedded inside another HTML document on a website. The IFrame HTML element is often used to insert content from another source or monitor a website (or more than one).
The method is
s.plt.iframe()
It must contain the following input variables:
url: str
order: int
And accepts the following input variables as optional:
height: int
cols_size: Optional[int]
padding: Optional[str]
The iFrame settings and usage.
s.plt.iframe(url='https://teamaspar.com', order=0)
The result is:

The iFrame is in the default configuration.
You can set a title for every site to monitor:
s.plt.iframe(
url='https://teamaspar.com',
order=0, cols_size=8,
padding='0,0,0,3'
)
The result is:

Note the space before the component using
padding='0,0,0,3',
and size with cols_size=8.
It is possible to use any number of rows.
Last modified 1mo ago