How to embed the Tableau with iframe properly?

When I tried to embed the Tableau interface with its link, the view got cut off and showed only part of it. However, it works properly with HTML iframe. Is it anything I did wrong? Thanks.

The code:

import streamlit as st
import streamlit.components.v1 as components

  <iframe src=""
    width="1600" height="2000">

Ok, there is a components.iframe to render the embed link properly.

1 Like