Spaces:
Sleeping
Sleeping
Pragya Jatav
commited on
Commit
·
68fa2e2
1
Parent(s):
a40e288
aesthetic changes 2
Browse files
Streamlit_functions.py
CHANGED
@@ -281,7 +281,7 @@ def waterfall(start_date,end_date,btn_chart):
|
|
281 |
# Updating layout for black background and gray gridlines
|
282 |
if btn_chart == "Month on Month":
|
283 |
fig.update_layout(
|
284 |
-
title=f"Change In MMM Estimated Prospect Contribution <br>{start_date_prev.strftime('%m-%d-%Y')}
|
285 |
,showlegend=False,
|
286 |
# plot_bgcolor='black',
|
287 |
# paper_bgcolor='black',
|
@@ -308,7 +308,7 @@ def waterfall(start_date,end_date,btn_chart):
|
|
308 |
# )
|
309 |
else :
|
310 |
fig.update_layout(
|
311 |
-
title=f"Change In MMM Estimated Prospect Contribution <br>{start_date_prev.strftime('%m-%d-%Y')}
|
312 |
,showlegend=False,
|
313 |
# plot_bgcolor='black',
|
314 |
# paper_bgcolor='black',
|
@@ -431,7 +431,7 @@ def channel_contribution(start_date,end_date):
|
|
431 |
|
432 |
# Updating layout for better visualization
|
433 |
fig.update_layout(
|
434 |
-
title=f"Media Contribution <br> {cur_data['Date'].min().strftime('%m-%d-%Y')}
|
435 |
# plot_bgcolor='black',
|
436 |
# paper_bgcolor='black',
|
437 |
# font=dict(color='white'), # Changing font color to white for better contrast
|
@@ -478,7 +478,7 @@ def chanel_spends(start_date,end_date):
|
|
478 |
|
479 |
# Updating layout for better visualization
|
480 |
fig.update_layout(
|
481 |
-
title=f"Media Spends <br> {cur_data['Date'].min().strftime('%m-%d-%Y')}
|
482 |
# plot_bgcolor='black',
|
483 |
# paper_bgcolor='black',
|
484 |
# font=dict(color='white'), # Changing font color to white for better contrast
|
@@ -590,7 +590,7 @@ def cpp(start_date,end_date):
|
|
590 |
|
591 |
# Update layout for better visualization
|
592 |
fig.update_layout(
|
593 |
-
title=f"CPP Distribution <br>{cur_data['Date'].min().strftime('%m-%d-%Y')}
|
594 |
,
|
595 |
# plot_bgcolor='black',
|
596 |
# paper_bgcolor='black',
|
|
|
281 |
# Updating layout for black background and gray gridlines
|
282 |
if btn_chart == "Month on Month":
|
283 |
fig.update_layout(
|
284 |
+
title=f"Change In MMM Estimated Prospect Contribution <br>{start_date_prev.strftime('%m-%d-%Y')} To {end_date_prev.strftime('%m-%d-%Y')} Vs. {start_date.strftime('%m-%d-%Y')} To {end_date.strftime('%m-%d-%Y')}"
|
285 |
,showlegend=False,
|
286 |
# plot_bgcolor='black',
|
287 |
# paper_bgcolor='black',
|
|
|
308 |
# )
|
309 |
else :
|
310 |
fig.update_layout(
|
311 |
+
title=f"Change In MMM Estimated Prospect Contribution <br>{start_date_prev.strftime('%m-%d-%Y')} To {end_date_prev.strftime('%m-%d-%Y')} Vs. {start_date.strftime('%m-%d-%Y')} To {end_date.strftime('%m-%d-%Y')}"
|
312 |
,showlegend=False,
|
313 |
# plot_bgcolor='black',
|
314 |
# paper_bgcolor='black',
|
|
|
431 |
|
432 |
# Updating layout for better visualization
|
433 |
fig.update_layout(
|
434 |
+
title=f"Media Contribution <br> {cur_data['Date'].min().strftime('%m-%d-%Y')} To {cur_data['Date'].max().strftime('%m-%d-%Y')}",
|
435 |
# plot_bgcolor='black',
|
436 |
# paper_bgcolor='black',
|
437 |
# font=dict(color='white'), # Changing font color to white for better contrast
|
|
|
478 |
|
479 |
# Updating layout for better visualization
|
480 |
fig.update_layout(
|
481 |
+
title=f"Media Spends <br> {cur_data['Date'].min().strftime('%m-%d-%Y')} To {cur_data['Date'].max().strftime('%m-%d-%Y')}",
|
482 |
# plot_bgcolor='black',
|
483 |
# paper_bgcolor='black',
|
484 |
# font=dict(color='white'), # Changing font color to white for better contrast
|
|
|
590 |
|
591 |
# Update layout for better visualization
|
592 |
fig.update_layout(
|
593 |
+
title=f"CPP Distribution <br>{cur_data['Date'].min().strftime('%m-%d-%Y')} To {cur_data['Date'].max().strftime('%m-%d-%Y')}"
|
594 |
,
|
595 |
# plot_bgcolor='black',
|
596 |
# paper_bgcolor='black',
|
__pycache__/Streamlit_functions.cpython-310.pyc
CHANGED
Binary files a/__pycache__/Streamlit_functions.cpython-310.pyc and b/__pycache__/Streamlit_functions.cpython-310.pyc differ
|
|