hiyata commited on
Commit
d55c2b3
·
verified ·
1 Parent(s): c29111f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -93,7 +93,7 @@ def create_importance_plot(shap_values, kmers, top_k=10):
93
  """
94
  Create horizontal bar plot of feature importance.
95
  """
96
- plt.style.use('seaborn')
97
  fig = plt.figure(figsize=(10, 8))
98
 
99
  # Sort by absolute importance
@@ -115,7 +115,7 @@ def create_contribution_plot(important_kmers, final_prob):
115
  """
116
  Create waterfall plot showing cumulative feature contributions.
117
  """
118
- plt.style.use('seaborn')
119
  fig = plt.figure(figsize=(12, 6))
120
 
121
  base_prob = 0.5
 
93
  """
94
  Create horizontal bar plot of feature importance.
95
  """
96
+ plt.style.use('seaborn-v0_8-whitegrid')
97
  fig = plt.figure(figsize=(10, 8))
98
 
99
  # Sort by absolute importance
 
115
  """
116
  Create waterfall plot showing cumulative feature contributions.
117
  """
118
+ plt.style.use('seaborn-v0_8-whitegrid')
119
  fig = plt.figure(figsize=(12, 6))
120
 
121
  base_prob = 0.5