☰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

Automatic downsampling

Community Support
vedar
vedar

Hi,

I was watching a video on youtube about bokeh, where presenter showed an example with auto-downsampling million of points to current graph space in pixels. Then while zooming line graph is more and more detailed. This is great feature. Can you please point me to an example or how can this be accomplished, as trying to simply plot doesn’t seem that auto-downsamling is engaged.

Thanks

⌁   Link to post
Sarah_Bird3
Sarah_Bird3

Hi vedar,

I know the demo you mean, it looked great!

Unfortunately, the initial stabs at this work are being moved out of the Bokeh repo, so that the Bokeh repo can focus on its core competencies.

A couple of things to note.

  1. There may be a similar example floating around bokeh-demos repo, I’m not sure.

  2. There is a new server rewrite coming into the next version of Bokeh, which will hopefully make it cleaner and easier to get set up on Bokeh server, and from there, downsampling should be pretty straightforward.

Hope this helps,

Sarah Bird

···

On Thu, Oct 15, 2015 at 2:04 AM, vedar vedar.user@gmail.com wrote:

Hi,

I was watching a video on youtube about bokeh, where presenter showed an example with auto-downsampling million of points to current graph space in pixels. Then while zooming line graph is more and more detailed. This is great feature. Can you please point me to an example or how can this be accomplished, as trying to simply plot doesn’t seem that auto-downsamling is engaged.

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/7d62b77b-707e-40e2-9d53-dad1f1c9dc7c%40continuum.io.

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

⌁   Link to post
Bryan
Bryan

Sarah, Vedar I think you are referring specifically to the DataShader example? If so that work now indeed being moved into its own project, but it is not publicly available yet. We will have more to show in the next few months.

Bryan

···

On Thu, Oct 15, 2015 at 2:04 AM, vedar vedar.user@gmail.com wrote:

Hi,

I was watching a video on youtube about bokeh, where presenter showed an example with auto-downsampling million of points to current graph space in pixels. Then while zooming line graph is more and more detailed. This is great feature. Can you please point me to an example or how can this be accomplished, as trying to simply plot doesn’t seem that auto-downsamling is engaged.

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/7d62b77b-707e-40e2-9d53-dad1f1c9dc7c%40continuum.io.

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

⌁   Link to post
Angelo_Fausti
Angelo_Fausti

Hi,

I am also interested in trying an example that uses automatic down sampling, the example I saw in youtube was (is it called DataShader?)

https://www.youtube.com/watch?v=GkysOB8_xsE

@ 45:10 - shows the downsampling being done on the server and alpha being computed in real time

would that feature work for images too? i.e the ability to zoom in and refine the resolution as opposed to tiling the image in predefined resolutions.

btw, congrats for this amazing work you are doing and I look forward to see bokeh 0.11

thank you.

···

On Thu, Oct 15, 2015 at 8:16 AM, Bryan Van de Ven bryan@bokeh.org wrote:

Sarah, Vedar I think you are referring specifically to the DataShader example? If so that work now indeed being moved into its own project, but it is not publicly available yet. We will have more to show in the next few months.

Bryan

On Oct 15, 2015, at 08:01, Sarah Bird sbird@alum.mit.edu wrote:

Hi vedar,

I know the demo you mean, it looked great!

Unfortunately, the initial stabs at this work are being moved out of the Bokeh repo, so that the Bokeh repo can focus on its core competencies.

A couple of things to note.

  1. There may be a similar example floating around bokeh-demos repo, I’m not sure.
  1. There is a new server rewrite coming into the next version of Bokeh, which will hopefully make it cleaner and easier to get set up on Bokeh server, and from there, downsampling should be pretty straightforward.

Hope this helps,

Sarah Bird

–

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/CA%2BEr%2BdSLKNkmYaw_OVYhxPytEgM22cc87jnwRAV-3uCKLZZnpA%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 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/07D358CF-39D1-43BB-BEFA-3E96DDDFC5A1%40continuum.io.

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

Angelo Fausti Neto
LIneA/LSST

On Thu, Oct 15, 2015 at 2:04 AM, vedar vedar.user@gmail.com wrote:

Hi,

I was watching a video on youtube about bokeh, where presenter showed an example with auto-downsampling million of points to current graph space in pixels. Then while zooming line graph is more and more detailed. This is great feature. Can you please point me to an example or how can this be accomplished, as trying to simply plot doesn’t seem that auto-downsamling is engaged.

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/7d62b77b-707e-40e2-9d53-dad1f1c9dc7c%40continuum.io.

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

⌁   Link to post

End of archived discussion · Replies are disabled