Skip to content

Commit

Permalink
add units to plot
Browse files Browse the repository at this point in the history
  • Loading branch information
Laz4rz committed Mar 30, 2024
1 parent 9ceaf80 commit 3b2a5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openai_cost_tracker_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,6 @@ def plot_cost_by_day(path: str = DEFAULT_LOG_PATH, last_n_days: int = None) -> N

plt.bar(cost_by_day.keys(), cost_by_day.values(), width=0.5)
plt.xlabel('Day')
plt.ylabel('Cost')
plt.ylabel('Cost [$]')
plt.title('Cost by day')
plt.show()

0 comments on commit 3b2a5dd

Please sign in to comment.