Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9af1789781 | ||
|
|
dd343e7f88 |
@@ -1 +1,2 @@
|
|||||||
gtfs-data/
|
gtfs-data/
|
||||||
|
ansible/
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ my_hover=HoverTool()
|
|||||||
my_hover.tooltips=[('Type','@route_type_long'),('Route id','@route_short_name'),('Route','@route_long_name')]
|
my_hover.tooltips=[('Type','@route_type_long'),('Route id','@route_short_name'),('Route','@route_long_name')]
|
||||||
|
|
||||||
p.add_tools(my_hover)
|
p.add_tools(my_hover)
|
||||||
p.circle('x', 'y', source=Source, legend_field='route_type_long', color='color')
|
p.circle('x', 'y', source=Source, legend_field='route_type_long', color='color', size=10)
|
||||||
curdoc().add_root(p)
|
curdoc().add_root(p)
|
||||||
curdoc().add_periodic_callback(update,5000)
|
curdoc().add_periodic_callback(update,5000)
|
||||||
p.legend.location = "top_left"
|
p.legend.location = "top_left"
|
||||||
|
|||||||
Reference in New Issue
Block a user