Guest User

Untitled

a guest
Aug 10th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. plot = createDF(market)
  2. l = layout([[text_input], [plot[0]], [plot[1]]])
  3. curdoc().add_root(l)
  4.  
  5. def text_handler(attr, old, new):
  6. market = text_input.value
  7. plot = createDF(market)
  8.  
  9. l = layout([[text_input], [plot[0]], [plot[1]]])
  10. curdoc().add_root(l)
  11. text_input.on_change('value', text_handler)
Add Comment
Please, Sign In to add comment