Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,10 @@ p = figure(title="Scatter Plot with Image Hover",tools="pan,box_zoom,wheel_zoom,
|
|
33 |
<div><img src="@image" ></div>
|
34 |
</div>
|
35 |
""")
|
36 |
-
|
|
|
|
|
|
|
37 |
|
38 |
# Add color bar
|
39 |
color_bar = ColorBar(color_mapper=color_mapper['transform'], width=8, location=(0, 0),
|
|
|
33 |
<div><img src="@image" ></div>
|
34 |
</div>
|
35 |
""")
|
36 |
+
|
37 |
+
p.min_border_left = 10
|
38 |
+
|
39 |
+
p.circle('x', 'y', size=5, source=source, color=color_mapper) # Apply the color mapper
|
40 |
|
41 |
# Add color bar
|
42 |
color_bar = ColorBar(color_mapper=color_mapper['transform'], width=8, location=(0, 0),
|