☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Bokeh figures looping after reloading a webpage

Community Support
Sam_Thacher
Sam_Thacher

Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!

⌁   Link to post
Bryan
Bryan

Hi,

That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.

Thanks,

Bryan

···

On Jun 22, 2017, at 18:03, sam.thacher@thetileapp.com wrote:

Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!

–

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+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/64741f07-602b-4aa0-a377-787b9ccbbcbe%40continuum.io.

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

⌁   Link to post
Sam_Thacher
Sam_Thacher

Thanks for the response! I’ll try to provide a small complete example soon, I need to separate some stuff out in order to do that.

···

On Thursday, June 22, 2017 at 4:12:54 PM UTC-7, Bryan Van de ven wrote:

Hi,

That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.

Thanks,

Bryan

On Jun 22, 2017, at 18:03, sam.t...@thetileapp.com wrote:

Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!

–

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/64741f07-602b-4aa0-a377-787b9ccbbcbe%40continuum.io.

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

⌁   Link to post
Bryan
Bryan

FWIW one usage situation that would explain this would be if you are somehow accidentally appending the same copy of your data every page load. That would explain a "loop" back to the beginning with the extra copy otherwise just tracing over the original and look the same. Might be worth checking for.

Thanks,

Bryan

···

On Jun 23, 2017, at 10:40, sam.thacher@thetileapp.com wrote:

Thanks for the response! I'll try to provide a small complete example soon, I need to separate some stuff out in order to do that.

On Thursday, June 22, 2017 at 4:12:54 PM UTC-7, Bryan Van de ven wrote:
Hi,

That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.

Thanks,

Bryan

On Jun 22, 2017, at 18:03, sam.t...@thetileapp.com wrote:

Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!

--
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/64741f07-602b-4aa0-a377-787b9ccbbcbe%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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9ce6cd18-2219-4e38-96a4-0ce1ae588a60%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Sam_Thacher
Sam_Thacher

You know what, that would make sense because if I look at the server responses they almost double in size every time I reload the page. I am currently using reset_output() at the beginning of my graphing function but I am not sure that it is working. The part that confuses me is that I feel like I should be able to stop the data from loading on top of itself through disabling caching (which I did in chrome web tools). Let me see if I can fix that part.

···

On Fri, Jun 23, 2017 at 8:44 AM, Bryan Van de ven bryanv@continuum.io wrote:

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

FWIW one usage situation that would explain this would be if you are somehow accidentally appending the same copy of your data every page load. That would explain a “loop” back to the beginning with the extra copy otherwise just tracing over the original and look the same. Might be worth checking for.

Thanks,

Bryan

On Jun 23, 2017, at 10:40, sam.thacher@thetileapp.com wrote:

Thanks for the response! I’ll try to provide a small complete example soon, I need to separate some stuff out in order to do that.

On Thursday, June 22, 2017 at 4:12:54 PM UTC-7, Bryan Van de ven wrote:

Hi,

That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.

Thanks,

Bryan

On Jun 22, 2017, at 18:03, sam.t...@thetileapp.com wrote:

Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!

–

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/64741f07-602b-4aa0-a377-787b9ccbbcbe%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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9ce6cd18-2219-4e38-96a4-0ce1ae588a60%40continuum.io.

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

–

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/jwaI2g9ZldM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/FB99AAD9-B1FB-4779-A7D1-A057E94B3F5C%40continuum.io.

–

This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

⌁   Link to post
Sam_Thacher
Sam_Thacher

Unfortunately I am still having the same problem and I haven’t been able to get past it. How would I be able to ensure that my graph, every time I reload it, is a totally new instance of the graph without any of the old data? I have used reset_output and have tried disabling caching but neither seem to work.

···

On Fri, Jun 23, 2017 at 8:51 AM, Sam Thacher sam.thacher@thetileapp.com wrote:

You know what, that would make sense because if I look at the server responses they almost double in size every time I reload the page. I am currently using reset_output() at the beginning of my graphing function but I am not sure that it is working. The part that confuses me is that I feel like I should be able to stop the data from loading on top of itself through disabling caching (which I did in chrome web tools). Let me see if I can fix that part.

–

On Fri, Jun 23, 2017 at 8:44 AM, Bryan Van de ven bryan@bokeh.org wrote:

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

FWIW one usage situation that would explain this would be if you are somehow accidentally appending the same copy of your data every page load. That would explain a “loop” back to the beginning with the extra copy otherwise just tracing over the original and look the same. Might be worth checking for.

Thanks,

Bryan

On Jun 23, 2017, at 10:40, sam.thacher@thetileapp.com wrote:

Thanks for the response! I’ll try to provide a small complete example soon, I need to separate some stuff out in order to do that.

On Thursday, June 22, 2017 at 4:12:54 PM UTC-7, Bryan Van de ven wrote:

Hi,

That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.

Thanks,

Bryan

On Jun 22, 2017, at 18:03, sam.t...@thetileapp.com wrote:

Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!

–

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/64741f07-602b-4aa0-a377-787b9ccbbcbe%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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9ce6cd18-2219-4e38-96a4-0ce1ae588a60%40continuum.io.

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

–

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/jwaI2g9ZldM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/FB99AAD9-B1FB-4779-A7D1-A057E94B3F5C%40continuum.io.

This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

–

This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

⌁   Link to post
Bryan
Bryan

Hi,

If you can offer a complete minimal example that reproduces the problem then I can take a look. Absent that, I am afraid I can't really offer anything much specific, only a few general comments:

* You should not reuse any Bokeh components between rendering if you want to ensure there is absolutely no sharing.
* If you want to try and re-use things, the best bet is to set .data in the CDS to an entirely new dict every render

Thanks,

Bryan

···

On Jun 26, 2017, at 11:34, Sam Thacher <sam.thacher@thetileapp.com> wrote:

Unfortunately I am still having the same problem and I haven't been able to get past it. How would I be able to ensure that my graph, every time I reload it, is a totally new instance of the graph without any of the old data? I have used reset_output and have tried disabling caching but neither seem to work.

On Fri, Jun 23, 2017 at 8:51 AM, Sam Thacher <sam.thacher@thetileapp.com> wrote:
You know what, that would make sense because if I look at the server responses they almost double in size every time I reload the page. I am currently using reset_output() at the beginning of my graphing function but I am not sure that it is working. The part that confuses me is that I feel like I should be able to stop the data from loading on top of itself through disabling caching (which I did in chrome web tools). Let me see if I can fix that part.

On Fri, Jun 23, 2017 at 8:44 AM, Bryan Van de ven <bryan@bokeh.org> wrote:
FWIW one usage situation that would explain this would be if you are somehow accidentally appending the same copy of your data every page load. That would explain a "loop" back to the beginning with the extra copy otherwise just tracing over the original and look the same. Might be worth checking for.

Thanks,

Bryan

> On Jun 23, 2017, at 10:40, sam.thacher@thetileapp.com wrote:
>
> Thanks for the response! I'll try to provide a small complete example soon, I need to separate some stuff out in order to do that.
>
> On Thursday, June 22, 2017 at 4:12:54 PM UTC-7, Bryan Van de ven wrote:
> Hi,
>
> That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.
>
> Thanks,
>
> Bryan
>
> On Jun 22, 2017, at 18:03, sam.t...@thetileapp.com wrote:
>
>> Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!
>>
>> --
>> 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/64741f07-602b-4aa0-a377-787b9ccbbcbe%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 bokeh+unsubscribe@continuum.io.
> To post to this group, send email to bokeh@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9ce6cd18-2219-4e38-96a4-0ce1ae588a60%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
You received this message because you are subscribed to a topic in the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/jwaI2g9ZldM/unsubscribe\.
To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/FB99AAD9-B1FB-4779-A7D1-A057E94B3F5C%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

--
This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

--
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+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CANVhXiyxrYZSW5Mx4LfPctj7eAyebgFoe9x-Vik0X%2B0unPBXnA%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post
Sam_Thacher
Sam_Thacher

Just wanted to thank you for your time and let you know that I figured this out - it had to do with the scope of the lists I was putting data into. I suppose if anyone asks you about the looping of graphs in the future, you could mention that to them. Again, thanks for your time, have a great day.
Sam

···

On Mon, Jun 26, 2017 at 11:03 AM, Bryan Van de ven bryanv@continuum.io wrote:

Hi,

If you can offer a complete minimal example that reproduces the problem then I can take a look. Absent that, I am afraid I can’t really offer anything much specific, only a few general comments:

  • You should not reuse any Bokeh components between rendering if you want to ensure there is absolutely no sharing.

  • If you want to try and re-use things, the best bet is to set .data in the CDS to an entirely new dict every render

Thanks,

Bryan

On Jun 26, 2017, at 11:34, Sam Thacher sam.thacher@thetileapp.com wrote:

Unfortunately I am still having the same problem and I haven’t been able to get past it. How would I be able to ensure that my graph, every time I reload it, is a totally new instance of the graph without any of the old data? I have used reset_output and have tried disabling caching but neither seem to work.

On Fri, Jun 23, 2017 at 8:51 AM, Sam Thacher sam.thacher@thetileapp.com wrote:

You know what, that would make sense because if I look at the server responses they almost double in size every time I reload the page. I am currently using reset_output() at the beginning of my graphing function but I am not sure that it is working. The part that confuses me is that I feel like I should be able to stop the data from loading on top of itself through disabling caching (which I did in chrome web tools). Let me see if I can fix that part.

On Fri, Jun 23, 2017 at 8:44 AM, Bryan Van de ven bryan@bokeh.org wrote:

FWIW one usage situation that would explain this would be if you are somehow accidentally appending the same copy of your data every page load. That would explain a “loop” back to the beginning with the extra copy otherwise just tracing over the original and look the same. Might be worth checking for.

Thanks,

Bryan

On Jun 23, 2017, at 10:40, sam.thacher@thetileapp.com wrote:

Thanks for the response! I’ll try to provide a small complete example soon, I need to separate some stuff out in order to do that.

On Thursday, June 22, 2017 at 4:12:54 PM UTC-7, Bryan Van de ven wrote:

Hi,

That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.

Thanks,

Bryan

On Jun 22, 2017, at 18:03, sam.t...@thetileapp.com wrote:

Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!

–

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/64741f07-602b-4aa0-a377-787b9ccbbcbe%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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9ce6cd18-2219-4e38-96a4-0ce1ae588a60%40continuum.io.

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

–

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/jwaI2g9ZldM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/FB99AAD9-B1FB-4779-A7D1-A057E94B3F5C%40continuum.io.

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

–

This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

–

This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

–

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+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CANVhXiyxrYZSW5Mx4LfPctj7eAyebgFoe9x-Vik0X%2B0unPBXnA%40mail.gmail.com.

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

–

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

To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/jwaI2g9ZldM/unsubscribe.

To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/563D22C2-E66E-4DC7-AE4F-956194D28F05%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

–

This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

⌁   Link to post
Bryan
Bryan

Glad to hear you figured it out!

Bryan

···

On Jun 27, 2017, at 17:14, Sam Thacher <sam.thacher@thetileapp.com> wrote:

Just wanted to thank you for your time and let you know that I figured this out - it had to do with the scope of the lists I was putting data into. I suppose if anyone asks you about the looping of graphs in the future, you could mention that to them. Again, thanks for your time, have a great day.
Sam

On Mon, Jun 26, 2017 at 11:03 AM, Bryan Van de ven <bryan@bokeh.org> wrote:
Hi,

If you can offer a complete minimal example that reproduces the problem then I can take a look. Absent that, I am afraid I can't really offer anything much specific, only a few general comments:

* You should not reuse any Bokeh components between rendering if you want to ensure there is absolutely no sharing.
* If you want to try and re-use things, the best bet is to set .data in the CDS to an entirely new dict every render

Thanks,

Bryan

> On Jun 26, 2017, at 11:34, Sam Thacher <sam.thacher@thetileapp.com> wrote:
>
> Unfortunately I am still having the same problem and I haven't been able to get past it. How would I be able to ensure that my graph, every time I reload it, is a totally new instance of the graph without any of the old data? I have used reset_output and have tried disabling caching but neither seem to work.
>
> On Fri, Jun 23, 2017 at 8:51 AM, Sam Thacher <sam.thacher@thetileapp.com> wrote:
> You know what, that would make sense because if I look at the server responses they almost double in size every time I reload the page. I am currently using reset_output() at the beginning of my graphing function but I am not sure that it is working. The part that confuses me is that I feel like I should be able to stop the data from loading on top of itself through disabling caching (which I did in chrome web tools). Let me see if I can fix that part.
>
> On Fri, Jun 23, 2017 at 8:44 AM, Bryan Van de ven <bryan@bokeh.org> wrote:
> FWIW one usage situation that would explain this would be if you are somehow accidentally appending the same copy of your data every page load. That would explain a "loop" back to the beginning with the extra copy otherwise just tracing over the original and look the same. Might be worth checking for.
>
> Thanks,
>
> Bryan
>
>
> > On Jun 23, 2017, at 10:40, sam.thacher@thetileapp.com wrote:
> >
> > Thanks for the response! I'll try to provide a small complete example soon, I need to separate some stuff out in order to do that.
> >
> > On Thursday, June 22, 2017 at 4:12:54 PM UTC-7, Bryan Van de ven wrote:
> > Hi,
> >
> > That seems possibly like a bug but in order to investigate we would need a minimal complete example to run.
> >
> > Thanks,
> >
> > Bryan
> >
> > On Jun 22, 2017, at 18:03, sam.t...@thetileapp.com wrote:
> >
> >> Hi just wondering if I could get some help with a small issue. I am using bokeh in combination with a flask web app I am developing. It is working well except when I try to reload a page where a bokeh line figure has loaded fine previously, the last point of the line chart will reconnect to the first point. I was sure this was a caching problem, but I disabled caching and it made no difference for me. Not sure what to do here. Thanks!
> >>
> >> --
> >> 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/64741f07-602b-4aa0-a377-787b9ccbbcbe%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 bokeh+unsubscribe@continuum.io.
> > To post to this group, send email to bokeh@continuum.io.
> > To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/9ce6cd18-2219-4e38-96a4-0ce1ae588a60%40continuum.io\.
> > For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
>
> --
> You received this message because you are subscribed to a topic in the Google Groups "Bokeh Discussion - Public" group.
> To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/jwaI2g9ZldM/unsubscribe\.
> To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.
> To post to this group, send email to bokeh@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/FB99AAD9-B1FB-4779-A7D1-A057E94B3F5C%40continuum.io\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
>
>
>
> --
> This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.
>
>
>
>
> --
> This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.
>
>
> --
> 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+unsubscribe@continuum.io.
> To post to this group, send email to bokeh@continuum.io.
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CANVhXiyxrYZSW5Mx4LfPctj7eAyebgFoe9x-Vik0X%2B0unPBXnA%40mail.gmail.com\.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
You received this message because you are subscribed to a topic in the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this topic, visit https://groups.google.com/a/continuum.io/d/topic/bokeh/jwaI2g9ZldM/unsubscribe\.
To unsubscribe from this group and all its topics, send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/563D22C2-E66E-4DC7-AE4F-956194D28F05%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

--
This email and all attachments are confidential and are intended solely for the individual or entity to whom the email is addressed. If you believe that you are not an intended recipient, please stop reading immediately. Do not disclose, copy, forward, or rely on the contents in any way. Please notify Tile by emailing the original Tile sender and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, including all privileges that may apply.

--
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+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CANVhXix%2B46N%3Dmpai4KnHhrbxjiYq70cBxZZJ5Xpqw6wU6YRvRA%40mail.gmail.com\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

⌁   Link to post

End of archived discussion · Replies are disabled