Advertisement
Guest User

Untitled

a guest
Jan 21st, 2017
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. bokeh serve --allow-websocket-origin=127.0.0.1:8001 selection_histogram.py
  2.  
  3. def simple_chart(request):
  4.  
  5. script = autoload_server(model=None,
  6. app_path="/selection_histogram",
  7. url="http://localhost:5006/")
  8.  
  9.  
  10. return render(request, "simple_chart.html", {"the_script": script})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement