Spaces:
Runtime error
Runtime error
Commit ·
5372347
1
Parent(s): 8c70a68
fix heatmaps
Browse files
app.py
CHANGED
|
@@ -242,7 +242,7 @@ def get_heatmap(celltype, gene, locus1, locus2, heatmap_range):
|
|
| 242 |
#img = draw_heatmap(mat, 0, return_image=True)
|
| 243 |
fig, ax = plt.subplots(figsize=(4, 4))
|
| 244 |
if res == 'deeploop':
|
| 245 |
-
draw_heatmap(mat, 0, ax=ax, min_val=0.8)
|
| 246 |
else:
|
| 247 |
ax.imshow(mat, cmap='Reds', norm=PowerNorm(gamma=0.3), interpolation=None)
|
| 248 |
|
|
|
|
| 242 |
#img = draw_heatmap(mat, 0, return_image=True)
|
| 243 |
fig, ax = plt.subplots(figsize=(4, 4))
|
| 244 |
if res == 'deeploop':
|
| 245 |
+
draw_heatmap(mat, 3.0, ax=ax, min_val=0.8)
|
| 246 |
else:
|
| 247 |
ax.imshow(mat, cmap='Reds', norm=PowerNorm(gamma=0.3), interpolation=None)
|
| 248 |
|