m3hrdadfi commited on
Commit
c568eee
·
1 Parent(s): 80660b5

Change plotly theme

Browse files
Files changed (1) hide show
  1. 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='GnBu'
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')