tonyassi commited on
Commit
b3fbf0a
·
verified ·
1 Parent(s): 5ab83aa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ source = ColumnDataSource(data=data)
24
 
25
 
26
  # Create a color mapper with reversed palette
27
- color_mapper = linear_cmap(field_name='id', palette=Viridis256[::-1], low=0, high=100)
28
 
29
  # Create the figure
30
  p = figure(title="Scatter Plot with Image Hover", tools="hover", tooltips="""
 
24
 
25
 
26
  # Create a color mapper with reversed palette
27
+ color_mapper = linear_cmap(field_name='id', palette=Viridis256[::-1], low=0, high=len(data['id']))
28
 
29
  # Create the figure
30
  p = figure(title="Scatter Plot with Image Hover", tools="hover", tooltips="""