Merge remote-tracking branch 'origin/sebl' into sebl

This commit is contained in:
SoulKindred 2024-01-08 11:09:22 +01:00
commit beef5ad2c7
3 changed files with 2 additions and 6 deletions

View File

@ -63,6 +63,6 @@ if __name__ == "__main__":
try:
get_data(remote_db)
except Exception as e:
print(f"Exception {e} in plots.py")
print(f"Exception {e} in calculations.py")
finally:
remote_db.close()

View File

@ -1,5 +1,5 @@
# config.py, adjust as needed
# TODO RENAME THIS FILE TO "config.py"
# TODO COPY and then RENAME TO "config.py"
SSH_HOST = 'slenzlinger.dev'
SSH_USERNAME = 'sebl' #TODO: Enter own username
SSH_PASSWORD = 'your_ssh_password' # TODO: to not push to git

View File

@ -10,8 +10,6 @@ import numpy as np
logging.getLogger("matplotlib").setLevel(logging.WARNING)
# Summary charts ======================================================================================================
def plt_acc_by_year(db):
acc_year_sql = """
@ -261,8 +259,6 @@ def severity_by_month(db):
#fig.show()
# Utilities ===========================================================================================================
def save_as_barplot(df, xname, yname, orientation, file_name):
pass