daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Aug 10th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top