Spaces:
Running
Running
Update app.py
Browse files
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
|