From 764cd69bfc2e5a0cf504c8d6e4f032d35edd9a4c Mon Sep 17 00:00:00 2001 From: Tyler Date: Thu, 14 May 2026 01:01:02 -0700 Subject: Completely refreshed Key Ratios, Historical Ratios, and DCF/Multiples tab. --- components/options.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/options.py') diff --git a/components/options.py b/components/options.py index 0acce31..b2c98c3 100644 --- a/components/options.py +++ b/components/options.py @@ -134,7 +134,7 @@ def render_options(ticker: str): legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1), hovermode="x unified", ) - st.plotly_chart(fig_iv, use_container_width=True) + st.plotly_chart(fig_iv, width="stretch") # ── Open Interest by strike ─────────────────────────────────────────────── with chart_col2: @@ -172,7 +172,7 @@ def render_options(ticker: str): height=300, legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1), ) - st.plotly_chart(fig_oi, use_container_width=True) + st.plotly_chart(fig_oi, width="stretch") # ── Raw chain table ─────────────────────────────────────────────────────── with st.expander("Full options chain"): @@ -187,7 +187,7 @@ def render_options(ticker: str): df_show["impliedVolatility"] = df_show["impliedVolatility"].apply( lambda v: f"{v*100:.1f}%" if pd.notna(v) else "—" ) - st.dataframe(df_show, use_container_width=True, hide_index=True) + st.dataframe(df_show, width="stretch", hide_index=True) with tab_puts: show_cols = [c for c in display_cols if c in puts.columns] @@ -197,4 +197,4 @@ def render_options(ticker: str): df_show["impliedVolatility"] = df_show["impliedVolatility"].apply( lambda v: f"{v*100:.1f}%" if pd.notna(v) else "—" ) - st.dataframe(df_show, use_container_width=True, hide_index=True) + st.dataframe(df_show, width="stretch", hide_index=True) -- cgit v1.3-2-g0d8e