manikanta2026
commited on
Commit
·
4f299e1
1
Parent(s):
0fb8370
changes3
Browse files
app.py
CHANGED
@@ -89,7 +89,7 @@ def create_polar_plot(emotion_probabilities):
|
|
89 |
probabilities += probabilities[:1] # Complete the circle
|
90 |
|
91 |
# Create polar plot
|
92 |
-
fig, ax = plt.subplots(figsize=(
|
93 |
ax.fill(angles, probabilities, color='skyblue', alpha=0.4)
|
94 |
ax.plot(angles, probabilities, color='blue', linewidth=2, marker='o')
|
95 |
|
|
|
89 |
probabilities += probabilities[:1] # Complete the circle
|
90 |
|
91 |
# Create polar plot
|
92 |
+
fig, ax = plt.subplots(figsize=(4, 4), subplot_kw=dict(projection='polar'))
|
93 |
ax.fill(angles, probabilities, color='skyblue', alpha=0.4)
|
94 |
ax.plot(angles, probabilities, color='blue', linewidth=2, marker='o')
|
95 |
|