Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -204,8 +204,9 @@ class SurveyAnalyzer:
|
|
204 |
# 添加受訪人數標註
|
205 |
num_respondents = len(filtered_df)
|
206 |
fig.add_annotation(
|
207 |
-
x=0.5,
|
208 |
-
xref='paper',
|
|
|
209 |
text=f'受訪人數: {num_respondents}人',
|
210 |
showarrow=False,
|
211 |
font=dict(size=16),
|
@@ -546,7 +547,7 @@ def main():
|
|
546 |
|
547 |
with col2:
|
548 |
st.markdown('<div class="card">', unsafe_allow_html=True)
|
549 |
-
|
550 |
|
551 |
if __name__ == "__main__":
|
552 |
main()
|
|
|
204 |
# 添加受訪人數標註
|
205 |
num_respondents = len(filtered_df)
|
206 |
fig.add_annotation(
|
207 |
+
x=0.5,
|
208 |
+
xref='paper',
|
209 |
+
yref='paper',
|
210 |
text=f'受訪人數: {num_respondents}人',
|
211 |
showarrow=False,
|
212 |
font=dict(size=16),
|
|
|
547 |
|
548 |
with col2:
|
549 |
st.markdown('<div class="card">', unsafe_allow_html=True)
|
550 |
+
# Add the rest of the code here
|
551 |
|
552 |
if __name__ == "__main__":
|
553 |
main()
|