INNER CODE UNIT · Python
render_report_iframe
business-science/free-ai-tips · 015_ai_exploratory_copilot_dtale_integration/app.py:27
def render_report_iframe(
report_src, src_type="url", height=620, title="Interactive Report"
):
"""
Render a report iframe with expandable fullscreen functionality.
Parameters:
----------
report_src : str
Either the URL of the report (for src_type='url') or the raw HTML (for src_type='html').
src_type : str
Type of the source: 'url' or 'html'.
height : int
Height of the iframe component.
"""