Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -483,7 +483,7 @@ if 'temuan_kode_distrik' in df_local.columns:
|
|
| 483 |
theta=[mid_angles[i]],
|
| 484 |
width=[angle],
|
| 485 |
marker_color=[color],
|
| 486 |
-
marker_line_color="
|
| 487 |
marker_line_width=1.2,
|
| 488 |
opacity=0.9,
|
| 489 |
hovertemplate="<b>%{text}</b><br>Avg Ratio: %{r:.2f}<extra></extra>", # 🔥 Hapus [0]
|
|
@@ -495,7 +495,7 @@ if 'temuan_kode_distrik' in df_local.columns:
|
|
| 495 |
fig.update_layout(
|
| 496 |
title=f'{area_name} Area',
|
| 497 |
polar=dict(
|
| 498 |
-
bgcolor="
|
| 499 |
radialaxis=dict(
|
| 500 |
visible=True,
|
| 501 |
tickfont=dict(size=9, color="white"), # 🔥 Warna angka radial jadi putih
|
|
@@ -507,7 +507,7 @@ if 'temuan_kode_distrik' in df_local.columns:
|
|
| 507 |
direction='clockwise',
|
| 508 |
tickfont=dict(size=9, color="white"), # 🔥 Warna angka derajat jadi putih
|
| 509 |
showline=False,
|
| 510 |
-
linecolor="
|
| 511 |
gridcolor="rgba(255,255,255,0.2)" # 🔥 Warna grid derajat jadi transparan putih
|
| 512 |
),
|
| 513 |
),
|
|
|
|
| 483 |
theta=[mid_angles[i]],
|
| 484 |
width=[angle],
|
| 485 |
marker_color=[color],
|
| 486 |
+
marker_line_color="gray",
|
| 487 |
marker_line_width=1.2,
|
| 488 |
opacity=0.9,
|
| 489 |
hovertemplate="<b>%{text}</b><br>Avg Ratio: %{r:.2f}<extra></extra>", # 🔥 Hapus [0]
|
|
|
|
| 495 |
fig.update_layout(
|
| 496 |
title=f'{area_name} Area',
|
| 497 |
polar=dict(
|
| 498 |
+
bgcolor="gray",
|
| 499 |
radialaxis=dict(
|
| 500 |
visible=True,
|
| 501 |
tickfont=dict(size=9, color="white"), # 🔥 Warna angka radial jadi putih
|
|
|
|
| 507 |
direction='clockwise',
|
| 508 |
tickfont=dict(size=9, color="white"), # 🔥 Warna angka derajat jadi putih
|
| 509 |
showline=False,
|
| 510 |
+
linecolor="gray", # 🔥 Warna garis derajat jadi putih
|
| 511 |
gridcolor="rgba(255,255,255,0.2)" # 🔥 Warna grid derajat jadi transparan putih
|
| 512 |
),
|
| 513 |
),
|