visual for total spend fixed,
This commit is contained in:
@@ -2,7 +2,6 @@ import polars as pl
|
||||
import plotly.express as px
|
||||
import pandas as pd
|
||||
import logging
|
||||
import sys
|
||||
import config.exit_codes as ec
|
||||
# import datetime
|
||||
|
||||
@@ -115,10 +114,13 @@ class data_components():
|
||||
font_color='white'
|
||||
)
|
||||
|
||||
total_spend_line = f"### £{total_spend:,.2f}"
|
||||
|
||||
data = {"spend_per_day_line": spend_per_day_line,
|
||||
"spend_per_category_bar": spend_per_category_bar,
|
||||
"spend_per_payee_bar": spend_per_payee_bar,
|
||||
"total_spend": total_spend}
|
||||
"total_spend": total_spend_line}
|
||||
|
||||
if callback == 0:
|
||||
return data
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user