Spaces:
Runtime error
Runtime error
Change plotly theme
Browse files- libs/utils.py +1 -1
libs/utils.py
CHANGED
@@ -17,7 +17,7 @@ def plot_result(top_languages):
|
|
17 |
range_x=(0, 115),
|
18 |
title=f'Top Detections {top_k}',
|
19 |
color=np.linspace(0, 1, len(scores)),
|
20 |
-
color_continuous_scale='
|
21 |
)
|
22 |
fig.update(layout_coloraxis_showscale=False)
|
23 |
fig.update_traces(texttemplate='%{text:0.1f}%', textposition='outside')
|
|
|
17 |
range_x=(0, 115),
|
18 |
title=f'Top Detections {top_k}',
|
19 |
color=np.linspace(0, 1, len(scores)),
|
20 |
+
color_continuous_scale='Plotly3'
|
21 |
)
|
22 |
fig.update(layout_coloraxis_showscale=False)
|
23 |
fig.update_traces(texttemplate='%{text:0.1f}%', textposition='outside')
|