☰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

Abstract rendering example

Community Support
t3kcit
t3kcit

Hi all.

Is there a full example of using abstract rendering?
The docs here seem somewhat incomplete:
http://bokeh.pydata.org/en/latest/docs/user_guide/ar.html?highlight=heatmap
What is ar here? Is it the abstract_rendering package? https://github.com/ContinuumIO/abstract_rendering
That doesn’t seem to have a “heatmap” function.
The heatmap also doesn’t seem to be defined in bohek, so I have a hard time understanding what is happening in the example.

Thanks,
Andy

⌁   Link to post
Sarah_Bird3
Sarah_Bird3

Just checking whether you’ve seen the code in the examples folder:

https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/abstractrender.py
https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/census.py

···

On Mon, Mar 16, 2015 at 2:56 PM, t3kcit@gmail.com wrote:

Hi all.

Is there a full example of using abstract rendering?
The docs here seem somewhat incomplete:
http://bokeh.pydata.org/en/latest/docs/user_guide/ar.html?highlight=heatmap
What is ar here? Is it the abstract_rendering package? https://github.com/ContinuumIO/abstract_rendering
That doesn’t seem to have a “heatmap” function.
The heatmap also doesn’t seem to be defined in bohek, so I have a hard time understanding what is happening in the example.

Thanks,
Andy

–

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/69c82fcd-8832-474f-ad00-e42506c85ab2%40continuum.io.

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

⌁   Link to post
Sarah_Bird3
Sarah_Bird3

Hi Andy,

How are you getting along? I’m not having the best luck getting downsampling to do what I want it to.

The heatmap in the docs, is from this example: https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/census.py

(you’ll notice the code in the example and the docs is a little different. my guess is the example is more up to date)

In case you haven’t found it yet, the called heatmap function is in the abstractrender transform here: https://github.com/bokeh/bokeh/blob/master/bokeh/transforms/ar_downsample.py#L804

hope this helps,

sarah

···

On Mon, Mar 16, 2015 at 4:43 PM, Sarah Bird sbird@alum.mit.edu wrote:

Just checking whether you’ve seen the code in the examples folder:

https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/abstractrender.py
https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/census.py

On Mon, Mar 16, 2015 at 2:56 PM, t3kcit@gmail.com wrote:

Hi all.

Is there a full example of using abstract rendering?
The docs here seem somewhat incomplete:
http://bokeh.pydata.org/en/latest/docs/user_guide/ar.html?highlight=heatmap
What is ar here? Is it the abstract_rendering package? https://github.com/ContinuumIO/abstract_rendering
That doesn’t seem to have a “heatmap” function.
The heatmap also doesn’t seem to be defined in bohek, so I have a hard time understanding what is happening in the example.

Thanks,
Andy

–

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/69c82fcd-8832-474f-ad00-e42506c85ab2%40continuum.io.

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

⌁   Link to post
Hugo_Shi
Hugo_Shi

yes - if you would like you can see the updated docs in this PR

https://github.com/bokeh/bokeh/pull/1986

···

On Wed, Mar 18, 2015 at 4:25 AM, Sarah Bird sbird@alum.mit.edu wrote:

Hi Andy,

How are you getting along? I’m not having the best luck getting downsampling to do what I want it to.

The heatmap in the docs, is from this example: https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/census.py

(you’ll notice the code in the example and the docs is a little different. my guess is the example is more up to date)

In case you haven’t found it yet, the called heatmap function is in the abstractrender transform here: https://github.com/bokeh/bokeh/blob/master/bokeh/transforms/ar_downsample.py#L804

hope this helps,

sarah

–

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%2BdTmRUad3bosyz0ZL%3D1wnit89Z2gRNxrd4LpdtooQQAbDg%40mail.gmail.com.

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

On Mon, Mar 16, 2015 at 4:43 PM, Sarah Bird sbird@alum.mit.edu wrote:

Just checking whether you’ve seen the code in the examples folder:

https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/abstractrender.py
https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/census.py

On Mon, Mar 16, 2015 at 2:56 PM, t3kcit@gmail.com wrote:

Hi all.

Is there a full example of using abstract rendering?
The docs here seem somewhat incomplete:
http://bokeh.pydata.org/en/latest/docs/user_guide/ar.html?highlight=heatmap
What is ar here? Is it the abstract_rendering package? https://github.com/ContinuumIO/abstract_rendering
That doesn’t seem to have a “heatmap” function.
The heatmap also doesn’t seem to be defined in bohek, so I have a hard time understanding what is happening in the example.

Thanks,
Andy

–

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/69c82fcd-8832-474f-ad00-e42506c85ab2%40continuum.io.

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

⌁   Link to post
t3kcit
t3kcit

Thanks for the link to the PR and pointing to the example.
I overlooked that and was looking at the website.
I’ll try that now.

···

Am Mittwoch, 18. März 2015 09:26:26 UTC-4 schrieb Hugo Shi:

yes - if you would like you can see the updated docs in this PR

https://github.com/bokeh/bokeh/pull/1986

On Wed, Mar 18, 2015 at 4:25 AM, Sarah Bird sb...@alum.mit.edu wrote:

Hi Andy,

How are you getting along? I’m not having the best luck getting downsampling to do what I want it to.

The heatmap in the docs, is from this example: https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/census.py

(you’ll notice the code in the example and the docs is a little different. my guess is the example is more up to date)

In case you haven’t found it yet, the called heatmap function is in the abstractrender transform here: https://github.com/bokeh/bokeh/blob/master/bokeh/transforms/ar_downsample.py#L804

hope this helps,

sarah

On Mon, Mar 16, 2015 at 4:43 PM, Sarah Bird sb...@alum.mit.edu wrote:

Just checking whether you’ve seen the code in the examples folder:

https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/abstractrender.py
https://github.com/bokeh/bokeh/blob/master/examples/plotting/server/census.py

On Mon, Mar 16, 2015 at 2:56 PM, t3k...@gmail.com wrote:

Hi all.

Is there a full example of using abstract rendering?
The docs here seem somewhat incomplete:
http://bokeh.pydata.org/en/latest/docs/user_guide/ar.html?highlight=heatmap
What is ar here? Is it the abstract_rendering package? https://github.com/ContinuumIO/abstract_rendering
That doesn’t seem to have a “heatmap” function.
The heatmap also doesn’t seem to be defined in bohek, so I have a hard time understanding what is happening in the example.

Thanks,
Andy

–

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/69c82fcd-8832-474f-ad00-e42506c85ab2%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+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/CA%2BEr%2BdTmRUad3bosyz0ZL%3D1wnit89Z2gRNxrd4LpdtooQQAbDg%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