reset_output() not working

Hello, I have a similar problem to this, where my output from a bokeh program shows all the graphs that I have ever produced using this code, appending the newest one at the very bottom. I’m using bokeh with anaconda and sublime, and running it in terminal. I’ve attached the .py file.

I’m trying to figure out how to edit the button feature effectively. I’m interested in doing something like the stock ticker example (which I haven’t been able to get working since I’m not in an iPython notebook). I have my own candlestick plots that I want to toggle between. Figuring out how these buttons work is the first step.

Thank you,

Kevin Crispie

plot_test2.py (2.52 KB)

Kevin,

This appears to be a regression. I have created a GH bug issue you can track here:

  https://github.com/bokeh/bokeh/issues/2059

I can confirm this behavior with the current master, it would be helpful if you could add any additional information about what versions you have or have not had this problem with on that issue.

Thanks,

Bryan

···

On Mar 10, 2015, at 11:20 PM, Kevin Crispie <[email protected]> wrote:

Hello, I have a similar problem to this, where my output from a bokeh program shows all the graphs that I have ever produced using this code, appending the newest one at the very bottom. I'm using bokeh with anaconda and sublime, and running it in terminal. I've attached the .py file.

I'm trying to figure out how to edit the button feature effectively. I'm interested in doing something like the stock ticker example (which I haven't been able to get working since I'm not in an iPython notebook). I have my own candlestick plots that I want to toggle between. Figuring out how these buttons work is the first step.

Thank you,

Kevin Crispie

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAPGK7vb3994fNDhJJPzRg5ZFMhPfFCTtG3YNT16b0CM3ozw6NQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
<plot_test2.py>

Hi Kevin

Perhaps this is a work around:

  1. Open a tab (in chrome) to http://localhost:5006/bokeh/

  2. Build /(Ctrl +B) your code in sublime. When you are done with that chart - close the tab.

  3. Switch to the first tab and click the trash can icon on the RHS.

  4. Edit code and rebuild

Hopefully that will only have one chart visible.

Kind regards

KK

···

On Wednesday, 11 March 2015 00:23:32 UTC-4, Kevin Crispie wrote:

Hello, I have a similar problem to this, where my output from a bokeh program shows all the graphs that I have ever produced using this code, appending the newest one at the very bottom. I’m using bokeh with anaconda and sublime, and running it in terminal. I’ve attached the .py file.

I’m trying to figure out how to edit the button feature effectively. I’m interested in doing something like the stock ticker example (which I haven’t been able to get working since I’m not in an iPython notebook). I have my own candlestick plots that I want to toggle between. Figuring out how these buttons work is the first step.

Thank you,

Kevin Crispie

alternatively - this should work ( unless it is also broken )

after executing output_server

execute : curdoc().context.children =

···

On Fri, Mar 13, 2015 at 5:22 PM, KK [email protected] wrote:

Hi Kevin

Perhaps this is a work around:

  1. Open a tab (in chrome) to http://localhost:5006/bokeh/
  1. Build /(Ctrl +B) your code in sublime. When you are done with that chart - close the tab.
  1. Switch to the first tab and click the trash can icon on the RHS.
  1. Edit code and rebuild

Hopefully that will only have one chart visible.

Kind regards

KK

On Wednesday, 11 March 2015 00:23:32 UTC-4, Kevin Crispie wrote:

Hello, I have a similar problem to this, where my output from a bokeh program shows all the graphs that I have ever produced using this code, appending the newest one at the very bottom. I’m using bokeh with anaconda and sublime, and running it in terminal. I’ve attached the .py file.

I’m trying to figure out how to edit the button feature effectively. I’m interested in doing something like the stock ticker example (which I haven’t been able to get working since I’m not in an iPython notebook). I have my own candlestick plots that I want to toggle between. Figuring out how these buttons work is the first step.

Thank you,

Kevin Crispie

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/3ae68b9f-c29b-4681-944b-1d950762a86f%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hi Hugo

Could you show where one enters that line of code in Kevin’s example please?

Thanks

KK

···

On Fri, Mar 13, 2015 at 5:25 PM, Hugo Shi [email protected] wrote:

alternatively - this should work ( unless it is also broken )

after executing output_server

execute : curdoc().context.children =

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAMn%3DpDT1ZOtLd54E0qODMfJqj5PsZhNUSwcBQFGsFgm5MGtSuA%40mail.gmail.com.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

On Fri, Mar 13, 2015 at 5:22 PM, KK [email protected] wrote:

Hi Kevin

Perhaps this is a work around:

  1. Open a tab (in chrome) to http://localhost:5006/bokeh/
  1. Build /(Ctrl +B) your code in sublime. When you are done with that chart - close the tab.
  1. Switch to the first tab and click the trash can icon on the RHS.
  1. Edit code and rebuild

Hopefully that will only have one chart visible.

Kind regards

KK

On Wednesday, 11 March 2015 00:23:32 UTC-4, Kevin Crispie wrote:

Hello, I have a similar problem to this, where my output from a bokeh program shows all the graphs that I have ever produced using this code, appending the newest one at the very bottom. I’m using bokeh with anaconda and sublime, and running it in terminal. I’ve attached the .py file.

I’m trying to figure out how to edit the button feature effectively. I’m interested in doing something like the stock ticker example (which I haven’t been able to get working since I’m not in an iPython notebook). I have my own candlestick plots that I want to toggle between. Figuring out how these buttons work is the first step.

Thank you,

Kevin Crispie

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/3ae68b9f-c29b-4681-944b-1d950762a86f%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.