Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
hhay1981 committed Jun 28, 2024
2 parents 803d379 + 52cf1a7 commit c4d2a51
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions send-usage-emails/send_usage_emails.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ def get_hdrive_data():
host=constants.POSTGRES_HOST,
database="metabase",
user=constants.POSTGRES_USER,
password=constants.POSTGRES_PASSWORD,
port=5431
password=constants.POSTGRES_PASSWORD
)
# create a cursor
cur = conn.cursor()
Expand Down Expand Up @@ -355,7 +354,7 @@ def get_graph_bytes(idir_info):
g = sns.barplot(x="month", y="cost", data=under_bar, color=color_under)

# Add threshold bar
g.axhline(threshold, label="Limit (1.5 GB)", color=color_goal, linewidth=6)
g.axhline(threshold, label="Limit of 1.5 GB", color=color_goal, linewidth=6)

# Add legend
plt.legend(bbox_to_anchor=(1.02, 1), loc=2, borderaxespad=0.0)
Expand Down

0 comments on commit c4d2a51

Please sign in to comment.