pgurazada1 commited on
Commit
228e60d
·
verified ·
1 Parent(s): 30d16f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -84,9 +84,11 @@ def plot_target_distributions():
84
  figure, axes = plt.subplots(2, 1, figsize=(9, 7))
85
  sns.countplot(x=ytrain, stat='proportion', ax=axes[0])
86
  axes[0].set_title("Distribution of targets in training data")
 
87
 
88
  sns.countplot(x=sample_df.prediction, stat='proportion', ax=axes[1])
89
  axes[1].set_title("Distribution of predicted targets from the deployed model")
 
90
 
91
  return figure
92
 
 
84
  figure, axes = plt.subplots(2, 1, figsize=(9, 7))
85
  sns.countplot(x=ytrain, stat='proportion', ax=axes[0])
86
  axes[0].set_title("Distribution of targets in training data")
87
+ axes[0].set_xlabel('')
88
 
89
  sns.countplot(x=sample_df.prediction, stat='proportion', ax=axes[1])
90
  axes[1].set_title("Distribution of predicted targets from the deployed model")
91
+ axes[1].set_xlabel('')
92
 
93
  return figure
94