Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -341,7 +341,6 @@ AVATAR_HEIGHT = 800
|
|
| 341 |
|
| 342 |
|
| 343 |
# Create heatmap function
|
| 344 |
-
def create_heatmap(sensation_map):
|
| 345 |
overall_sensitivity = np.mean(sensation_map, axis=2)
|
| 346 |
fig, ax = plt.subplots(figsize=(10, 15))
|
| 347 |
sns.heatmap(overall_sensitivity, cmap='YlOrRd', alpha=0.7, cbar=False, ax=ax)
|
|
|
|
| 341 |
|
| 342 |
|
| 343 |
# Create heatmap function
|
|
|
|
| 344 |
overall_sensitivity = np.mean(sensation_map, axis=2)
|
| 345 |
fig, ax = plt.subplots(figsize=(10, 15))
|
| 346 |
sns.heatmap(overall_sensitivity, cmap='YlOrRd', alpha=0.7, cbar=False, ax=ax)
|