Bokeh Error: duplicate edit variable

Hi,

I hope someone can help. I’ve been creating a number of plots and have put them together using layout() . I’m also using output_file(“topic.html”) to save this as a html to share it with others. Although I see the plots laid out in Jupyter the saved html file returns a “Bokeh Error duplicate edit variable”. I’m not sure what I’m doing wrong. Whether it’s related or not I do get an error on my plots “Models should not be a document root if they are in a layout box:” However it still outputs the plots anyway. Any light someone can share will be most helpful.

Thanks,

Kim

(Apologies for brevity, on a phone)

You can’t include the same plot object in a document more than once. Somewhere you have a single plot, that is getting included under multiple add_root calls. This is not supported.

Thanks,

Bryan

···

On Oct 25, 2016, at 07:08, Kimmie [email protected] wrote:

Hi,

I hope someone can help. I’ve been creating a number of plots and have put them together using layout() . I’m also using output_file(“topic.html”) to save this as a html to share it with others. Although I see the plots laid out in Jupyter the saved html file returns a “Bokeh Error duplicate edit variable”. I’m not sure what I’m doing wrong. Whether it’s related or not I do get an error on my plots “Models should not be a document root if they are in a layout box:” However it still outputs the plots anyway. Any light someone can share will be most helpful.

Thanks,

Kim

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/86f48c53-7cc2-438b-a646-55d5d04857cb%40continuum.io.

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

Bryan,

Could you elaborate further? How do I resolve this issue? I never had this issue before November 18th… Do you mean the same plot object, or instance? So, I can no longer have 2 bar plots on one page? That seems a little crazy.

Thanks,
Lucas

···

On Tuesday, October 25, 2016 at 8:26:04 AM UTC-4, Bryan Van de ven wrote:

(Apologies for brevity, on a phone)

You can’t include the same plot object in a document more than once. Somewhere you have a single plot, that is getting included under multiple add_root calls. This is not supported.

Thanks,

Bryan

On Oct 25, 2016, at 07:08, Kimmie [email protected] wrote:

Hi,

I hope someone can help. I’ve been creating a number of plots and have put them together using layout() . I’m also using output_file(“topic.html”) to save this as a html to share it with others. Although I see the plots laid out in Jupyter the saved html file returns a “Bokeh Error duplicate edit variable”. I’m not sure what I’m doing wrong. Whether it’s related or not I do get an error on my plots “Models should not be a document root if they are in a layout box:” However it still outputs the plots anyway. Any light someone can share will be most helpful.

Thanks,

Kim

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/86f48c53-7cc2-438b-a646-55d5d04857cb%40continuum.io.

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

Hi,

You can have two bar plots on a page. You can't have the *same* bar plot object, twice.

Can you provide a minimal test case? Without seeing/running code I can't really offer much more guidance.

Also please just to note, we are trying to finalize 0.12.4 release this week so my bandwidth is somewhat limited for the short term.

Thanks,

Bryan

···

On Jan 3, 2017, at 3:08 PM, Lucas <[email protected]> wrote:

Bryan,

Could you elaborate further? How do I resolve this issue? I never had this issue before November 18th... Do you mean the same plot object, or instance? So, I can no longer have 2 bar plots on one page? That seems a little crazy.

Thanks,
Lucas

On Tuesday, October 25, 2016 at 8:26:04 AM UTC-4, Bryan Van de ven wrote:
(Apologies for brevity, on a phone)

You can't include the same plot object in a document more than once. Somewhere you have a single plot, that is getting included under multiple add_root calls. This is not supported.

Thanks,

Bryan

On Oct 25, 2016, at 07:08, Kimmie <[email protected]> wrote:

Hi,

I hope someone can help. I've been creating a number of plots and have put them together using layout() . I'm also using output_file("topic.html") to save this as a html to share it with others. Although I see the plots laid out in Jupyter the saved html file returns a "Bokeh Error duplicate edit variable". I'm not sure what I'm doing wrong. Whether it's related or not I do get an error on my plots "Models should not be a document root if they are in a layout box:" However it still outputs the plots anyway. Any light someone can share will be most helpful.

Thanks,
Kim

--
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 bokeh+un...@continuum.io.
To post to this group, send email to bo...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/86f48c53-7cc2-438b-a646-55d5d04857cb%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
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/d69b7539-c4cc-41cb-80b4-76d7fa9113a8%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.