Compare commits

..

2 Commits

Author SHA1 Message Date
Sven Geboers 9af1789781 circle size 2 years ago
Sven Geboers dd343e7f88 ansible directory 2 years ago
  1. 1
      .gitignore
  2. 2
      main.py

1
.gitignore vendored

@ -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"

Loading…
Cancel
Save