aboutsummaryrefslogtreecommitdiff
path: root/components/financials.py
diff options
context:
space:
mode:
authorTyler <tyler@tylerhoang.xyz>2026-05-14 01:01:02 -0700
committerTyler <tyler@tylerhoang.xyz>2026-05-14 01:01:02 -0700
commit764cd69bfc2e5a0cf504c8d6e4f032d35edd9a4c (patch)
tree0143dbd55cceded1b8f4a8c689888fa9a76152ca /components/financials.py
parent679baae2773dc7eaf419648ac7a59c4734fca735 (diff)
Completely refreshed Key Ratios, Historical Ratios, and DCF/Multiples
tab.
Diffstat (limited to 'components/financials.py')
-rw-r--r--components/financials.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/financials.py b/components/financials.py
index 83e9a16..c01f8dc 100644
--- a/components/financials.py
+++ b/components/financials.py
@@ -287,13 +287,13 @@ def _render_grouped_statement(df: pd.DataFrame, groups: dict[str, list[str]], em
with st.expander(section, expanded=(section == list(groups.keys())[0])):
section_df = df.loc[rows]
display, colors = _build_statement(section_df)
- st.dataframe(_style(display, colors), use_container_width=True)
+ st.dataframe(_style(display, colors), width="stretch")
remaining = [row for row in df.index if row not in grouped_rows]
if remaining:
with st.expander("Other Reported Line Items", expanded=False):
display, colors = _build_statement(df.loc[remaining])
- st.dataframe(_style(display, colors), use_container_width=True)
+ st.dataframe(_style(display, colors), width="stretch")
elif not grouped_rows:
st.info(empty_msg)
@@ -315,7 +315,7 @@ def _render_statement_block(title: str, df: pd.DataFrame, groups: dict[str, list
_render_grouped_statement(df, groups, empty_msg)
else:
display, colors = _build_statement(df)
- st.dataframe(_style(display, colors), use_container_width=True)
+ st.dataframe(_style(display, colors), width="stretch")
st.download_button(
"Download CSV",