Skip to content

Commit

Permalink
Update dashboard_CLOUD.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Isdinval authored Jun 6, 2024
1 parent eb66075 commit 90b2c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dashboard_CLOUD.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,8 @@ def main():

# Create bar chart with bins and log scale on y-axis
fig, ax = plt.subplots()
ax.barh(bins_all[:-1], counts_all, color='gray', alpha=0.7, label='All Clients')
ax.barh(bins_all[customer_bin_index], counts_all, color='red', label='Current Customer') # Use customer_bin_index
ax.bar(bins_all[:-1], counts_all, color='gray', alpha=0.7, label='All Clients')
ax.bar(bins_all[customer_bin_index], counts_all, color='red', label='Current Customer') # Use customer_bin_index
ax.set_xlabel(selected_feature) # Adjust label based on feature
ax.set_ylabel('Count (Log Scale)') # Update label
ax.set_title(f'Distribution of {selected_feature} (Binned)')
Expand Down

0 comments on commit 90b2c0f

Please sign in to comment.