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 a3f438b commit 10ee1cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dashboard_CLOUD.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,9 @@ def prepare_bivariate_data(customer_data, feature1, feature2):
# Bivariate plot generation
def generate_bivariate_plot(feature1_values, feature2_values, customer_data, sk_id_curr):
import seaborn as sns
# Clear the current figure before displaying the new one
plt.clf()

# Extract data for the current customer
customer_data = customer_data[customer_data['SK_ID_CURR'] == sk_id_curr]
customer_feature1 = customer_data[feature1].iloc[0]
Expand Down

0 comments on commit 10ee1cc

Please sign in to comment.