The Embed component displays HTML when the result of executing a Python function is HTML.

<Embed 
  alias="visualize_py" 
  variable={{
    department
  }}
  height="300px"
  width="400px"
/>

Properties

alias
string
required

Name of the Python function or SQL file.

varialbes
{ [key: string]: Variable }

Variables to pass to the Python function or SQL file. Declare using the variable() function.

width
string

Width of the element. Use CSS syntax. If not specified, it will be the same as the parent element.

height
string

Height of the element. Use CSS syntax. If not specified, it will be the same as the parent element.