Bokeh Webinar video, and Q&A

Hi Vuk,

We have only released Conda packages for Linux and OSX right now. We’ll be working on getting a Windows one out ASAP.

For now, you can “git clone” the repository and follow the instructions there. (To the best of my knowledge, all dependencies do have Windows conda packages.) Then you can do “python setup.py develop”, and it should work for you. Please let us know if you run into problems.

Cheers,

Peter

···

On Wed, Feb 10, 2016 at 10:10 AM, [email protected] wrote:

Hi,

I would like to ask a question about the datashader package. I’ve been trying to install it using various commands. But the one that should work anyway:

“conda install -c bokeh datashader”

returns the following:

Error: No packages found in current win-64 channels matching: datashader

When I search for the datashader package with “anaconda search -t conda datashader”, it returns:

Packages:

Name | Version | Package Types | Platforms

------------------------- | ------ | --------------- | ---------------

ahmadia/datashader | 0.1.0 | conda | linux-64, osx-64

bokeh/datashader | 0.1.0 | conda | linux-64, osx-64

Found 2 packages

Where I indeed see the bokeh datashader package that I need. Do you have any idea why, when installing it, conda can’t find it? And most of all, how to solve this problem and simply install it.

My gratitude in advance!

Vuk

It looks like a build hasn’t been published for windows yet.

                I would suggest opening an issue
                on the data                      shader repo:
                  In the meantime, I ha                          d no problem building

datashader locally using the instructions that were in the
README a couple
of days ago
()


# Create a new conda environment, if desired
conda create -n datashader python=2.7
source activate datashader
# Install required packages, including latest fixes required
conda install numpy pandas xarray toolz numba datashape odo dask pillow
pip install --upgrade --no-deps git+https://github.com/Blaze/odo
pip install --upgrade --no-deps git+https://github.com/Blaze/datashape
# Install Bokeh for running examples
conda install bokeh
# Install the datashader library
git clone cd datashader
python setup.py develop

HTH,

Bird
···

https://github.com/bokeh/datashader/blob/43f31f921462a9e13b928b267c1dce208a273463/README.mdhttps://github.com/bokeh/datashader.git
On 2/10/16 8:10 AM,
wrote:

[email protected]

Hi,

      I would like to ask a question about the datashader

package. I’ve been trying to install it using various
commands. But the one that should work anyway:

“conda install -c bokeh datashader”

returns the following:

      Error: No packages found in current win-64 channels

matching: datashader

      When I search for the datashader package with "anaconda

search -t conda datashader", it returns:

Packages:

        Name                      |  Version | Package Types

| Platforms

        ------------------------- |   ------ |

--------------- | ---------------

        ahmadia/datashader        |    0.1.0 | conda        

| linux-64, osx-64

        bokeh/datashader          |    0.1.0 | conda        

| linux-64, osx-64

Found 2 packages

      Where I indeed see the bokeh datashader package that I

need. Do you have any idea why, when installing it, conda
can’t find it? And most of all, how to solve this problem and
simply install it.

My gratitude in advance!

Vuk

      Op dinsdag 15 december 2015 23:35:27 UTC+1 schreef Bryan Van

de ven:

        Hi

all,

        First, for those that missed today's Bokeh webinar, here is

a link to the video:

            [https://continuum-analytics.wistia.com/medias/f6wp9dam91](https://continuum-analytics.wistia.com/medias/f6wp9dam91)




        And here are some answers to the great questions from the

webinar we didn’t get to answer due to the technical
problems at the end.

        ------




        Q: Seaborn doesn't incorporate bokeh - is Bokeh being used

to wrap seaborn/matplotlib?

        A: Bokeh has some basic support for converting Matplotlib

plots directly into Bokeh plots. See our examples gallery,
for example: http://bokeh.pydata.org/en/latest/docs/gallery/violin.html
More and better matplotlib coming when MPL implements their
new serialization scheme.

        Q: How can you schedule your python code to run at intervals

in Bokeh? Will the update with cpu scheduled data be real
time?

        A: Hopefully you saw this in the streaming example with the

wedges, but just to reiterate: you can just use time.sleep()
in your python code. In 0.11 (coming January 6) there is a
new add_periodic_callback that makes this even easier.

        Q: A lot of fiddling to figure it out is needed to figure

out the documentation. Can you suggest where we can find
more examples and more information to create customized
plots

        A: There are actually a lot of docs for bokeh, both in terms

of the API reference and user guides, as well as a live
gallery at http://bokeh.pydata.org/en/latest/docs/gallery.html .
However, we do appreciate that with a library of this
amount of capability, what we need are things more akin to
“cookbooks” that show people how to compose plots that
address certain kinds of tasks. Right now, you can see many
more examples in the Github repo, e.g.

  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/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io?utm_medium=email&utm_source=footer)      .

For more options, visit .

https://github.com/bokeh/ bokeh/tree/0.10.0/examples
has the examples for version 0.10.

        Q: Can you make a server-style application run in jupyter

notebook, or does it need to run from the command line?

        A: Yes you can.  You need to run the bokeh server explicitly

from the command line, and then write Python code in the
notebook that pushes data to it and such, but the app output
can be embedded directly in the notebook. Additionally
improved notebook comms are coming which will make
integration with native Jupyter notebook interactors even
better.

        Q: Is it possible to interactively change the scale of the

plots (linear, log, semilog)?

        A: Yes you can.  We haven’t shown any examples of this, but

the type of scaling on each axis, as well as any axis
properties, are all just attributes that can be modified
dynamically, and will get reflected in the browser.

        Q: Do we always need to run the Bokeh server?

        A: No.  Bokeh can generate standalone interactive plots that

are fully contained in an HTML file or even embedded in the
output cell of a notebook. The bokeh server is only
necessary when you want to have Python code get called in
response to user interaction, or you want to have Python
code that streams or loops data up to the browser. In any
of the examples where we are using a CustomJS callback, the
interactivity did not require the bokeh server. So, for
example, you send them in an email and they would retain all
their interactivity.

        Q: How can you run the same python script again and again at

particular time interval - if a server is not required?

        A: It is necessary to run the Bokeh server in order to run

any python code, and for certain other kinds of plots and
capabilities.

        Q: Is there ability to add cool transitions while sliding

between years? For GapMinder

        A: Yes you could drive this “by hand” with a little JS code,

or from python code if you use a Bokeh server. We plan to
make this even simpler with built in animation transitions
and easing functions in the near future.

        Q: Are all visualizations and the interface mobile

responsive?

        A: Some of the tools are mobile-friendly (both touch and

size-responsive), but it’s not something we’ve optimized for
at this time.

        Q: Have you used Bokeh in data driven mobile applications?

        A: Bokeh currently has limited mobile/touch capability, but

we intend to make mobile support completely
supported/maintained under test in 2016

        Q: Can you point to an example app for real time twitter

data using bokeh?

        A: One difficulty with OSS development is that people don’t

always come talk to you when things “just work”. So I am not
sure of one offhand, but we’d be happy to help answer
questions to get you started making one. (Especially if we
can show it off later!)

        Q: How does Bokeh relate/compare to other interactive

plotting libraries like plotly?

        A: Bokeh is similar to plotly, but all of Bokeh, including

the Bokeh server and the upcoming DataShader library is
completely open source (BSD licensed).

        Q: What are the limitations with Bokeh, when compared to the

traditional method of creating web applications?

        A: Bokeh doesn’t really let you make web applications in the

traditional sense. As a web developer, I think of Bokeh more
like d3 in the sense that it is a library that I work with
to make visualizations. If I’m writing a web application, I
want a framework that handles requests, sessions,
authentication, maybe has an ORM etc. bokeh-server does one
thing which is to keep a synchronous connection between
plot(s) on a client and the server.

        A: You could use bokeh-server directly to write a very tight

data driven application with a few pages, but more than that
I’d be looking to use a normal web framework and embed bokeh
into it.

        A: You may want to embed bokeh charts as standalone charts

that are just powered by data from your web application’s
database. Or you may want to build something more dynamic
that leverages bokeh-server and your web application - a
demonstration of that will be coming with the 0.11 release.

        Q: It is said in Jupyter at the upper right that you use

Python 2. Is there a need to use Python 2 for bokeh, rather
than the 3?

        A: Bokeh is fully supported and continuously tested with

Python 2.7 and Python 3.4 and Python 3.5. Bokeh may function
with other versions of Python (including PyPy) but these
configurations are not guaranteed.

        Q: Does Bokeh support 3d plotting?

        A: Not yet, but this is a longer term goal.

        Q: Is there a Shiny equivalent product in python ecosystem?

        A: Our vision is for Bokeh Server to fill this capability.

When combined with the new Jupyter workbook with its new
layout system that we are helping to develop, python will
have a rock solid story in this arena, with capabilities
well beyond what Shiny can do.

        Q: How can you embed bokeh plots on a website? Does it make

HTML/embed codes?

        A: Information about embedding standalone Bokeh app is here:

http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html#components

        Q: Hello. I am a Django developer really interested in using

Bokeh for online visualization. What would be the best way
for serving Bokeh plots within a Django project?

        A: In addition to the embedding section of the userguide

(above) the 0.11 release coming on January 6 will also have
complete Django example integrating with the Bokeh server.
But in general the outline goes like this: include BokehJS
(from CDN) in your head, use ‘bokeh.embed.components’ in
your view code, and pass the resulting script and div into
context and use them in your template.

        Q: For a simple chart, how many points can you handle before

performance is an issue? And what can you do then to scale
up further?

        A: Standard Bokeh with HTML canvas can easily display tens

of thousands of points. The Bokeh WebGL backend can scale up
to hundreds of thousands of points (but only supports a
subset of glyphs yet). The DataShader library arriving in
early 2016 extends this range to millions to billions of
points.

        Q: Can bokeh be used to display spatial data?

        A: Yes, we have support for Google Maps together with Bokeh

plots and we just added a new generic Tile Renderer to be
able to use many tile sources, as well as a GeoJSON data
source. Many more GIS features coming in 2016.

        Q: Is is possible to write CustomJS that interact with the

CustomJS slider? ie in every second increase the year?

        A: Yes definitely, the slider can be updated

programmatically from Javascript (e.g., slider.set(‘value’,
10) ) or from python if you are using the Bokeh server,
(e.g, slider.value = 10).

        Q: Does Bokeh provide functions that display data arrays in

a spreadsheet (cellular) format? I want to eliminate the
Excel auto-import portion of my data display requirements,
and also get the benefits of dynamic data display that Bokeh
provides.

        A: There are lots of great Open Source tools for integrating

Python and Excel, you can a list of some at http://docs.continuum.io/ anaconda/excel
Look specifically for tighter Bokeh/Excel integrations
coming in 2016.

        Q: CustomJS with a Python function is very exciting since

one can avoid writing JS, but the python allowed is limited.
I’d love to use callbacks with pandas code to update data
plotted. Any chance this will happen down the road?

        A: If you need to run real python code (e.g. interact with

Pandas) then you will need to use the Bokeh server.

        Q: What limits the frame rate for the animations shown?

        A: The framerates are actually at 30+ FPS; however, the

GotoWebinar software is not able to broadcast at that
framework. They run very very smoothly! (Even the
spectrogram.) When we make the recording of the webinar
available, you can see that they are running at full
framerate.

        Q: Say I have a streaming data coming in every 0.1 second,

what do I need to pay attention to about the computational
load using Bokeh? My past experience with matplotlib is the
plot freezes after running for a while?

        A: The exact answer depends on particulars of your

situation, of course. But as an example the spectrogram has
been run continuously for 8+ hours at conferences, with ~30
updates per second.

        Q: Some time ago I was planning to use Bokeh to make contour

plots…I’ve noted a lack of a “cmap” and data tips… Are
there plans to add those features?

        A: My understanding of the question is: will hover tips work

with “colormap image plots”? If so, yes, we intend to add
hover capability to image plots in early 2016

        Q: Hello, it looks like the gapminder notebook require the

utils.py package. Is it available

        A: You can download utils.py here: [](http://nbviewer.ipython.org/github/bokeh/bokeh-notebooks/tree/master/tutorial/)[http://nbviewer.ipython.org/](http://nbviewer.ipython.org/)github/bokeh/bokeh-notebooks/            tree/master/tutorial/

        Q: Can you zoom in the right plot and have it reflect in the

left? Or is it monodirectional?

        A: You can definitely link plot ranges trivially by sharing

ranges between them, see http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linking-plots
But you can also trigger more sophisticated interactions
too, see: http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#customjs-for-range-update

        Q: Need rbokeh website  

        A: [http://hafen.github.io/rbokeh/](http://hafen.github.io/rbokeh/)

        Q: How can Bokeh be installed outside of Anaconda for R or

Python…I understand the pip method for Python.

        A: “pip install bokeh” should grab everything you need

      [https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io)

https://groups.google.com/a/continuum.io/d/optout

Thanks for posting those, Sarah - those are definitely the ones I was referring to. It looks like the README has been updated since then and I can’t seem to find them in the repo anymore. Jim, any insight or guidance?

Cheers,

Peter

···

On Wed, Feb 10, 2016 at 10:58 AM, Sarah Bird [email protected] wrote:

It looks like a build hasn’t been published for windows yet.

                I would suggest opening an issue
                on the data                      shader repo:

github.com/bokeh/datashader

                  In the meantime, I ha                          d no problem building

datashader locally using the instructions that were in the
README a couple
of days ago
(https://github.com/bokeh/datashader/blob/43f31f921462a9e13b928b267c1dce208a273463/README.md)


# Create a new conda environment, if desired
conda create -n datashader python=2.7
source activate datashader
# Install required packages, including latest fixes required
conda install numpy pandas xarray toolz numba datashape odo dask pillow
pip install --upgrade --no-deps git+[https://github.com/Blaze/odo](https://github.com/Blaze/odo)
pip install --upgrade --no-deps git+[https://github.com/Blaze/datashape](https://github.com/Blaze/datashape)

# Install Bokeh for running examples
conda install bokeh
# Install the datashader library
git clone [https://github.com/bokeh/datashader.git](https://github.com/bokeh/datashader.git)
cd datashader
python setup.py develop

HTH,

Bird





  On 2/10/16 8:10 AM,

[email protected] wrote:

Hi,

      I would like to ask a question about the datashader

package. I’ve been trying to install it using various
commands. But the one that should work anyway:

“conda install -c bokeh datashader”

returns the following:

      Error: No packages found in current win-64 channels

matching: datashader

      When I search for the datashader package with "anaconda

search -t conda datashader", it returns:

Packages:

        Name                      |  Version | Package Types

| Platforms

        ------------------------- |   ------ |

--------------- | ---------------

        ahmadia/datashader        |    0.1.0 | conda        

| linux-64, osx-64

        bokeh/datashader          |    0.1.0 | conda        

| linux-64, osx-64

Found 2 packages

      Where I indeed see the bokeh datashader package that I

need. Do you have any idea why, when installing it, conda
can’t find it? And most of all, how to solve this problem and
simply install it.

My gratitude in advance!

Vuk

      Op dinsdag 15 december 2015 23:35:27 UTC+1 schreef Bryan Van

de ven:

        Hi

all,

        First, for those that missed today's Bokeh webinar, here is

a link to the video:

            [https://continuum-analytics.wistia.com/medias/f6wp9dam91](https://continuum-analytics.wistia.com/medias/f6wp9dam91)




        And here are some answers to the great questions from the

webinar we didn’t get to answer due to the technical
problems at the end.

        ------




        Q: Seaborn doesn't incorporate bokeh - is Bokeh being used

to wrap seaborn/matplotlib?

        A: Bokeh has some basic support for converting Matplotlib

plots directly into Bokeh plots. See our examples gallery,
for example: http://bokeh.pydata.org/en/latest/docs/gallery/violin.html
More and better matplotlib coming when MPL implements their
new serialization scheme.

        Q: How can you schedule your python code to run at intervals

in Bokeh? Will the update with cpu scheduled data be real
time?

        A: Hopefully you saw this in the streaming example with the

wedges, but just to reiterate: you can just use time.sleep()
in your python code. In 0.11 (coming January 6) there is a
new add_periodic_callback that makes this even easier.

        Q: A lot of fiddling to figure it out is needed to figure

out the documentation. Can you suggest where we can find
more examples and more information to create customized
plots

        A: There are actually a lot of docs for bokeh, both in terms

of the API reference and user guides, as well as a live
gallery at http://bokeh.pydata.org/en/latest/docs/gallery.html .
However, we do appreciate that with a library of this
amount of capability, what we need are things more akin to
“cookbooks” that show people how to compose plots that
address certain kinds of tasks. Right now, you can see many
more examples in the Github repo, e.g. https://github.com/bokeh/ bokeh/tree/0.10.0/examples
has the examples for version 0.10.

        Q: Can you make a server-style application run in jupyter

notebook, or does it need to run from the command line?

        A: Yes you can.  You need to run the bokeh server explicitly

from the command line, and then write Python code in the
notebook that pushes data to it and such, but the app output
can be embedded directly in the notebook. Additionally
improved notebook comms are coming which will make
integration with native Jupyter notebook interactors even
better.

        Q: Is it possible to interactively change the scale of the

plots (linear, log, semilog)?

        A: Yes you can.  We haven’t shown any examples of this, but

the type of scaling on each axis, as well as any axis
properties, are all just attributes that can be modified
dynamically, and will get reflected in the browser.

        Q: Do we always need to run the Bokeh server?




        A: No.  Bokeh can generate standalone interactive plots that

are fully contained in an HTML file or even embedded in the
output cell of a notebook. The bokeh server is only
necessary when you want to have Python code get called in
response to user interaction, or you want to have Python
code that streams or loops data up to the browser. In any
of the examples where we are using a CustomJS callback, the
interactivity did not require the bokeh server. So, for
example, you send them in an email and they would retain all
their interactivity.

        Q: How can you run the same python script again and again at

particular time interval - if a server is not required?

        A: It is necessary to run the Bokeh server in order to run

any python code, and for certain other kinds of plots and
capabilities.

        Q: Is there ability to add cool transitions while sliding

between years? For GapMinder

        A: Yes you could drive this “by hand” with a little JS code,

or from python code if you use a Bokeh server. We plan to
make this even simpler with built in animation transitions
and easing functions in the near future.

        Q: Are all visualizations and the interface mobile

responsive?

        A: Some of the tools are mobile-friendly (both touch and

size-responsive), but it’s not something we’ve optimized for
at this time.

        Q: Have you used Bokeh in data driven mobile applications?




        A: Bokeh currently has limited mobile/touch capability, but

we intend to make mobile support completely
supported/maintained under test in 2016

        Q: Can you point to an example app for real time twitter

data using bokeh?

        A: One difficulty with OSS development is that people don’t

always come talk to you when things “just work”. So I am not
sure of one offhand, but we’d be happy to help answer
questions to get you started making one. (Especially if we
can show it off later!)

        Q: How does Bokeh relate/compare to other interactive

plotting libraries like plotly?

        A: Bokeh is similar to plotly, but all of Bokeh, including

the Bokeh server and the upcoming DataShader library is
completely open source (BSD licensed).

        Q: What are the limitations with Bokeh, when compared to the

traditional method of creating web applications?

        A: Bokeh doesn’t really let you make web applications in the

traditional sense. As a web developer, I think of Bokeh more
like d3 in the sense that it is a library that I work with
to make visualizations. If I’m writing a web application, I
want a framework that handles requests, sessions,
authentication, maybe has an ORM etc. bokeh-server does one
thing which is to keep a synchronous connection between
plot(s) on a client and the server.

        A: You could use bokeh-server directly to write a very tight

data driven application with a few pages, but more than that
I’d be looking to use a normal web framework and embed bokeh
into it.

        A: You may want to embed bokeh charts as standalone charts

that are just powered by data from your web application’s
database. Or you may want to build something more dynamic
that leverages bokeh-server and your web application - a
demonstration of that will be coming with the 0.11 release.

        Q: It is said in Jupyter at the upper right that you use

Python 2. Is there a need to use Python 2 for bokeh, rather
than the 3?

        A: Bokeh is fully supported and continuously tested with

Python 2.7 and Python 3.4 and Python 3.5. Bokeh may function
with other versions of Python (including PyPy) but these
configurations are not guaranteed.

        Q: Does Bokeh support 3d plotting?



        A: Not yet, but this is a longer term goal.





        Q: Is there a Shiny equivalent product in python ecosystem?




        A: Our vision is for Bokeh Server to fill this capability.

When combined with the new Jupyter workbook with its new
layout system that we are helping to develop, python will
have a rock solid story in this arena, with capabilities
well beyond what Shiny can do.

        Q: How can you embed bokeh plots on a website? Does it make

HTML/embed codes?

        A: Information about embedding standalone Bokeh app is here:

http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html#components

        Q: Hello. I am a Django developer really interested in using

Bokeh for online visualization. What would be the best way
for serving Bokeh plots within a Django project?

        A: In addition to the embedding section of the userguide

(above) the 0.11 release coming on January 6 will also have
complete Django example integrating with the Bokeh server.
But in general the outline goes like this: include BokehJS
(from CDN) in your head, use ‘bokeh.embed.components’ in
your view code, and pass the resulting script and div into
context and use them in your template.

        Q: For a simple chart, how many points can you handle before

performance is an issue? And what can you do then to scale
up further?

        A: Standard Bokeh with HTML canvas can easily display tens

of thousands of points. The Bokeh WebGL backend can scale up
to hundreds of thousands of points (but only supports a
subset of glyphs yet). The DataShader library arriving in
early 2016 extends this range to millions to billions of
points.

        Q: Can bokeh be used to display spatial data?



        A: Yes, we have support for Google Maps together with Bokeh

plots and we just added a new generic Tile Renderer to be
able to use many tile sources, as well as a GeoJSON data
source. Many more GIS features coming in 2016.

        Q: Is is possible to write CustomJS that interact with the

CustomJS slider? ie in every second increase the year?

        A: Yes definitely, the slider can be updated

programmatically from Javascript (e.g., slider.set(‘value’,
10) ) or from python if you are using the Bokeh server,
(e.g, slider.value = 10).

        Q: Does Bokeh provide functions that display data arrays in

a spreadsheet (cellular) format? I want to eliminate the
Excel auto-import portion of my data display requirements,
and also get the benefits of dynamic data display that Bokeh
provides.

        A: There are lots of great Open Source tools for integrating

Python and Excel, you can a list of some at http://docs.continuum.io/ anaconda/excel
Look specifically for tighter Bokeh/Excel integrations
coming in 2016.

        Q: CustomJS with a Python function is very exciting since

one can avoid writing JS, but the python allowed is limited.
I’d love to use callbacks with pandas code to update data
plotted. Any chance this will happen down the road?

        A: If you need to run real python code (e.g. interact with

Pandas) then you will need to use the Bokeh server.

        Q: What limits the frame rate for the animations shown?



        A: The framerates are actually at 30+ FPS; however, the

GotoWebinar software is not able to broadcast at that
framework. They run very very smoothly! (Even the
spectrogram.) When we make the recording of the webinar
available, you can see that they are running at full
framerate.

        Q: Say I have a streaming data coming in every 0.1 second,

what do I need to pay attention to about the computational
load using Bokeh? My past experience with matplotlib is the
plot freezes after running for a while?

        A: The exact answer depends on particulars of your

situation, of course. But as an example the spectrogram has
been run continuously for 8+ hours at conferences, with ~30
updates per second.

        Q: Some time ago I was planning to use Bokeh to make contour

plots…I’ve noted a lack of a “cmap” and data tips… Are
there plans to add those features?

        A: My understanding of the question is: will hover tips work

with “colormap image plots”? If so, yes, we intend to add
hover capability to image plots in early 2016

        Q: Hello, it looks like the gapminder notebook require the

utils.py package. Is it available

        A: You can download utils.py here: [](http://nbviewer.ipython.org/github/bokeh/bokeh-notebooks/tree/master/tutorial/)[http://nbviewer.ipython.org/](http://nbviewer.ipython.org/)            github/bokeh/bokeh-notebooks/tree/master/tutorial/






        Q: Can you zoom in the right plot and have it reflect in the

left? Or is it monodirectional?

        A: You can definitely link plot ranges trivially by sharing

ranges between them, see http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linking-plots
But you can also trigger more sophisticated interactions
too, see: http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#customjs-for-range-update

        Q: Need rbokeh website  




        A: [http://hafen.github.io/rbokeh/](http://hafen.github.io/rbokeh/)






        Q: How can Bokeh be installed outside of Anaconda for R or

Python…I understand the pip method for Python.

        A: “pip install bokeh” should grab everything you need

  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/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io?utm_medium=email&utm_source=footer)[https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](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/56BB6C32.9090608%40gmail.com.

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

Peter Wang

CTO, Co-founder

There’s an open issue now:

···

https://github.com/bokeh/datashader/issues/67
On 2/10/16 9:05 AM, Peter Wang wrote:

    Thanks for posting those, Sarah - those are

definitely the ones I was referring to. It looks like the
README has been updated since then and I can’t seem to find them
in the repo anymore. Jim, any insight or guidance?

Cheers,

Peter

      On Wed, Feb 10, 2016 at 10:58 AM, Sarah

Bird [email protected]
wrote:

It looks li ke a build hasn’t been
published for windows yet.

                          I would suggest opening an issue on

the data shader
repo: github.com/bokeh/datashader

                                                              In the

meantime, I ha d no problem building
datashader locally using the
instructions that were in the README a couple
of days ago
(https://github.com/bokeh/datashader/blob/43f31f921462a9e13b928b267c1dce208a273463/README.md)


# Create a new conda environment, if desired
conda create -n datashader python=2.7
source activate datashader
# Install required packages, including latest fixes required
conda install numpy pandas xarray toolz numba datashape odo dask pillow
pip install --upgrade --no-deps git+[https://github.com/Blaze/odo](https://github.com/Blaze/odo)
pip install --upgrade --no-deps git+[https://github.com/Blaze/datashape](https://github.com/Blaze/datashape)

# Install Bokeh for running examples
conda install bokeh
# Install the datashader library
git clone [https://github.com/bokeh/datashader.git](https://github.com/bokeh/datashader.git)
cd datashader
python setup.py develop

HTH,

          Bird

On 2/10/16 8:10 AM, [email protected] wrote:

Hi,

                    I would like to ask a question about the

datashader package. I’ve been trying to install
it using various commands. But the one that
should work anyway:

“conda install -c bokeh datashader”

returns the following:

                    Error: No packages found in current win-64

channels matching: datashader

                    When I search for the datashader package with

“anaconda search -t conda datashader”, it
returns:

Packages:

                      Name                      |  Version |

Package Types | Platforms

                      ------------------------- |   ------ |

--------------- | ---------------

                      ahmadia/datashader        |    0.1.0 |

conda | linux-64, osx-64

                      bokeh/datashader          |    0.1.0 |

conda | linux-64, osx-64

Found 2 packages

                    Where I indeed see the bokeh datashader

package that I need. Do you have any idea why,
when installing it, conda can’t find it? And
most of all, how to solve this problem and
simply install it.

My gratitude in advance!

Vuk

                    Op dinsdag 15 december 2015 23:35:27 UTC+1

schreef Bryan Van de ven:

Hi all,

                      First, for those that missed today's Bokeh

webinar, here is a link to the video:

                          [https://continuum-analytics.wistia.com/medias/f6wp9dam91](https://continuum-analytics.wistia.com/medias/f6wp9dam91)




                      And here are some answers to the great

questions from the webinar we didn’t get to
answer due to the technical problems at the
end.

                      ------



                      Q: Seaborn doesn't incorporate bokeh - is

Bokeh being used to wrap seaborn/matplotlib?

                      A: Bokeh has some basic support for converting

Matplotlib plots directly into Bokeh plots.
See our examples gallery, for example:
More and better matplotlib coming when MPL
implements their new serialization scheme. Q: How can you schedule your python code to
run at intervals in Bokeh? Will the update
with cpu scheduled data be real time? A: Hopefully you saw this in the streaming
example with the wedges, but just to
reiterate: you can just use time.sleep() in
your python code. In 0.11 (coming January 6)
there is a new add_periodic_callback that
makes this even easier. Q: A lot of fiddling to figure it out is
needed to figure out the documentation. Can
you suggest where we can find more examples
and more information to create customized
plots A: There are actually a lot of docs for bokeh,
both in terms of the API reference and user
guides, as well as a live gallery at .
However, we do appreciate that with a library
of this amount of capability, what we need are
things more akin to “cookbooks” that show
people how to compose plots that address
certain kinds of tasks. Right now, you can see
many more examples in the Github repo, e.g. bokeh/tree/0.10.0/examples
has the examples for version 0.10. Q: Can you make a server-style application run
in jupyter notebook, or does it need to run
from the command line? A: Yes you can. You need to run the bokeh
server explicitly from the command line, and
then write Python code in the notebook that
pushes data to it and such, but the app output
can be embedded directly in the notebook.
Additionally improved notebook comms are
coming which will make integration with native
Jupyter notebook interactors even better. Q: Is it possible to interactively change the
scale of the plots (linear, log, semilog)? A: Yes you can. We haven’t shown any examples
of this, but the type of scaling on each axis,
as well as any axis properties, are all just
attributes that can be modified dynamically,
and will get reflected in the browser. Q: Do we always need to run the Bokeh server?
A: No. Bokeh can generate standalone
interactive plots that are fully contained in
an HTML file or even embedded in the output
cell of a notebook. The bokeh server is only
necessary when you want to have Python code
get called in response to user interaction, or
you want to have Python code that streams or
loops data up to the browser. In any of the
examples where we are using a CustomJS
callback, the interactivity did not require
the bokeh server. So, for example, you send
them in an email and they would retain all
their interactivity. Q: How can you run the same python script
again and again at particular time interval -
if a server is not required? A: It is necessary to run the Bokeh server in
order to run any python code, and for certain
other kinds of plots and capabilities. Q: Is there ability to add cool transitions
while sliding between years? For GapMinder A: Yes you could drive this “by hand” with a
little JS code, or from python code if you use
a Bokeh server. We plan to make this even
simpler with built in animation transitions
and easing functions in the near future. Q: Are all visualizations and the interface
mobile responsive? A: Some of the tools are mobile-friendly (both
touch and size-responsive), but it’s not
something we’ve optimized for at this time. Q: Have you used Bokeh in data driven mobile
applications? A: Bokeh currently has limited mobile/touch
capability, but we intend to make mobile
support completely supported/maintained under
test in 2016 Q: Can you point to an example app for real
time twitter data using bokeh? A: One difficulty with OSS development is that
people don’t always come talk to you when
things “just work”. So I am not sure of one
offhand, but we’d be happy to help answer
questions to get you started making one.
(Especially if we can show it off later!) Q: How does Bokeh relate/compare to other
interactive plotting libraries like plotly? A: Bokeh is similar to plotly, but all of
Bokeh, including the Bokeh server and the
upcoming DataShader library is completely open
source (BSD licensed). Q: What are the limitations with Bokeh, when
compared to the traditional method of creating
web applications? A: Bokeh doesn’t really let you make web
applications in the traditional sense. As a
web developer, I think of Bokeh more like d3
in the sense that it is a library that I work
with to make visualizations. If I’m writing a
web application, I want a framework that
handles requests, sessions, authentication,
maybe has an ORM etc. bokeh-server does one
thing which is to keep a synchronous
connection between plot(s) on a client and
the server. A: You could use bokeh-server directly to
write a very tight data driven application
with a few pages, but more than that I’d be
looking to use a normal web framework and
embed bokeh into it. A: You may want to embed bokeh charts as
standalone charts that are just powered by
data from your web application’s database. Or
you may want to build something more dynamic
that leverages bokeh-server and your web
application - a demonstration of that will be
coming with the 0.11 release. Q: It is said in Jupyter at the upper right
that you use Python 2. Is there a need to use
Python 2 for bokeh, rather than the 3? A: Bokeh is fully supported and continuously
tested with Python 2.7 and Python 3.4 and
Python 3.5. Bokeh may function with other
versions of Python (including PyPy) but these
configurations are not guaranteed. Q: Does Bokeh support 3d plotting? A: Not yet, but this is a longer term goal. Q: Is there a Shiny equivalent product in
python ecosystem? A: Our vision is for Bokeh Server to fill this
capability. When combined with the new Jupyter
workbook with its new layout system that we
are helping to develop, python will have a
rock solid story in this arena, with
capabilities well beyond what Shiny can do. Q: How can you embed bokeh plots on a website?
Does it make HTML/embed codes? A: Information about embedding standalone
Bokeh app is here: Q: Hello. I am a Django developer really
interested in using Bokeh for online
visualization. What would be the best way for
serving Bokeh plots within a Django project? A: In addition to the embedding section of the
userguide (above) the 0.11 release coming on
January 6 will also have complete Django
example integrating with the Bokeh server. But
in general the outline goes like this: include
BokehJS (from CDN) in your head, use
‘bokeh.embed.components’ in your view code,
and pass the resulting script and div into
context and use them in your template. Q: For a simple chart, how many points can you
handle before performance is an issue? And
what can you do then to scale up further? A: Standard Bokeh with HTML canvas can easily
display tens of thousands of points. The Bokeh
WebGL backend can scale up to hundreds of
thousands of points (but only supports a
subset of glyphs yet). The DataShader library
arriving in early 2016 extends this range to
millions to billions of points. Q: Can bokeh be used to display spatial data?
A: Yes, we have support for Google Maps
together with Bokeh plots and we just added a
new generic Tile Renderer to be able to use
many tile sources, as well as a GeoJSON data
source. Many more GIS features coming in 2016.
Q: Is is possible to write CustomJS that
interact with the CustomJS slider? ie in every
second increase the year? A: Yes definitely, the slider can be updated
programmatically from Javascript (e.g.,
slider.set(‘value’, 10) ) or from python if
you are using the Bokeh server, (e.g,
slider.value = 10). Q: Does Bokeh provide functions that display
data arrays in a spreadsheet (cellular)
format? I want to eliminate the Excel
auto-import portion of my data display
requirements, and also get the benefits of
dynamic data display that Bokeh provides. A: There are lots of great Open Source tools
for integrating Python and Excel, you can a
list of some at anaconda/excel
Look specifically for tighter Bokeh/Excel
integrations coming in 2016. Q: CustomJS with a Python function is very
exciting since one can avoid writing JS, but
the python allowed is limited. I’d love to use
callbacks with pandas code to update data
plotted. Any chance this will happen down the
road? A: If you need to run real python code (e.g.
interact with Pandas) then you will need to
use the Bokeh server. Q: What limits the frame rate for the
animations shown? A: The framerates are actually at 30+ FPS;
however, the GotoWebinar software is not able
to broadcast at that framework. They run very
very smoothly! (Even the spectrogram.) When
we make the recording of the webinar
available, you can see that they are running
at full framerate. Q: Say I have a streaming data coming in every
0.1 second, what do I need to pay attention to
about the computational load using Bokeh? My
past experience with matplotlib is the plot
freezes after running for a while? A: The exact answer depends on particulars of
your situation, of course. But as an example
the spectrogram has been run continuously for
8+ hours at conferences, with ~30 updates per
second. Q: Some time ago I was planning to use Bokeh
to make contour plots…I’ve noted a lack of a
“cmap” and data tips… Are there plans to add
those features? A: My understanding of the question is: will
hover tips work with “colormap image plots”?
If so, yes, we intend to add hover capability
to image plots in early 2016 Q: Hello, it looks like the gapminder notebook
require the utils.py package. Is it available
A: You can download utils.py here: github/bokeh/bokeh-notebooks/tree/master/tutorial/
Q: Can you zoom in the right plot and have it
reflect in the left? Or is it monodirectional?
A: You can definitely link plot ranges
trivially by sharing ranges between them, see
But you can also trigger more sophisticated
interactions too, see: Q: Need rbokeh website A: Q: How can Bokeh be installed outside of
Anaconda for R or Python…I understand the
pip method for Python. A: “pip install bokeh” should grab everything
you need

                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 .
To post to this group, send email to .
To view this discussion on the web visit .
For more options, visit .

            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 .

To view this discussion on the web visit .


** Peter
Wang**

  •                      CTO,
    

Co-founder*

  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/CABGrp%2B9Ed0Y4MH-P5v72%3D9LdBMr8hfchS3kL34d_memkzBt4fw%40mail.gmail.com?utm_medium=email&utm_source=footer)      .

For more options, visit .

http://bokeh.pydata.org/en/latest/docs/gallery/violin.html

http://bokeh.pydata.org/en/latest/docs/gallery.htmlhttps://github.com/bokeh/

http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html#components

http://docs.continuum.io/

http://nbviewer.ipython.org/

http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linking-plotshttp://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#customjs-for-range-update

http://hafen.github.io/rbokeh/

[email protected]
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io
https://groups.google.com/a/continuum.io/d/optout
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/56BB6C32.9090608%40gmail.com

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

https://groups.google.com/a/continuum.io/d/msgid/bokeh/CABGrp%2B9Ed0Y4MH-P5v72%3D9LdBMr8hfchS3kL34d_memkzBt4fw%40mail.gmail.com
https://groups.google.com/a/continuum.io/d/optout

We’re building win64 packages now, and hopefully won’t run into any problems with dependencies. (datashader itself is pure Python, and thus does not require any particular platform). We’ll also put instructions for building from the github repo back onto the website. Thanks for raising the issue!

···

Jim

On Wed, Feb 10, 2016 at 11:05 AM, Peter Wang [email protected] wrote:

Thanks for posting those, Sarah - those are definitely the ones I was referring to. It looks like the README has been updated since then and I can’t seem to find them in the repo anymore. Jim, any insight or guidance?

Cheers,

Peter

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/CABGrp%2B9Ed0Y4MH-P5v72%3D9LdBMr8hfchS3kL34d_memkzBt4fw%40mail.gmail.com.

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

On Wed, Feb 10, 2016 at 10:58 AM, Sarah Bird [email protected] wrote:

It looks like a build hasn’t been published for windows yet.

                I would suggest opening an issue
                on the data                      shader repo:

github.com/bokeh/datashader

                  In the meantime, I ha                          d no problem building

datashader locally using the instructions that were in the
README a couple
of days ago
(https://github.com/bokeh/datashader/blob/43f31f921462a9e13b928b267c1dce208a273463/README.md)


# Create a new conda environment, if desired
conda create -n datashader python=2.7
source activate datashader
# Install required packages, including latest fixes required
conda install numpy pandas xarray toolz numba datashape odo dask pillow
pip install --upgrade --no-deps git+[https://github.com/Blaze/odo](https://github.com/Blaze/odo)
pip install --upgrade --no-deps git+[https://github.com/Blaze/datashape](https://github.com/Blaze/datashape)

# Install Bokeh for running examples
conda install bokeh
# Install the datashader library
git clone [https://github.com/bokeh/datashader.git](https://github.com/bokeh/datashader.git)
cd datashader
python setup.py develop

HTH,

Bird





  On 2/10/16 8:10 AM,

[email protected] wrote:

Hi,

      I would like to ask a question about the datashader

package. I’ve been trying to install it using various
commands. But the one that should work anyway:

“conda install -c bokeh datashader”

returns the following:

      Error: No packages found in current win-64 channels

matching: datashader

      When I search for the datashader package with "anaconda

search -t conda datashader", it returns:

Packages:

        Name                      |  Version | Package Types

| Platforms

        ------------------------- |   ------ |

--------------- | ---------------

        ahmadia/datashader        |    0.1.0 | conda        

| linux-64, osx-64

        bokeh/datashader          |    0.1.0 | conda        

| linux-64, osx-64

Found 2 packages

      Where I indeed see the bokeh datashader package that I

need. Do you have any idea why, when installing it, conda
can’t find it? And most of all, how to solve this problem and
simply install it.

My gratitude in advance!

Vuk

      Op dinsdag 15 december 2015 23:35:27 UTC+1 schreef Bryan Van

de ven:

        Hi

all,

        First, for those that missed today's Bokeh webinar, here is

a link to the video:

            [https://continuum-analytics.wistia.com/medias/f6wp9dam91](https://continuum-analytics.wistia.com/medias/f6wp9dam91)




        And here are some answers to the great questions from the

webinar we didn’t get to answer due to the technical
problems at the end.

        ------




        Q: Seaborn doesn't incorporate bokeh - is Bokeh being used

to wrap seaborn/matplotlib?

        A: Bokeh has some basic support for converting Matplotlib

plots directly into Bokeh plots. See our examples gallery,
for example: http://bokeh.pydata.org/en/latest/docs/gallery/violin.html
More and better matplotlib coming when MPL implements their
new serialization scheme.

        Q: How can you schedule your python code to run at intervals

in Bokeh? Will the update with cpu scheduled data be real
time?

        A: Hopefully you saw this in the streaming example with the

wedges, but just to reiterate: you can just use time.sleep()
in your python code. In 0.11 (coming January 6) there is a
new add_periodic_callback that makes this even easier.

        Q: A lot of fiddling to figure it out is needed to figure

out the documentation. Can you suggest where we can find
more examples and more information to create customized
plots

        A: There are actually a lot of docs for bokeh, both in terms

of the API reference and user guides, as well as a live
gallery at http://bokeh.pydata.org/en/latest/docs/gallery.html .
However, we do appreciate that with a library of this
amount of capability, what we need are things more akin to
“cookbooks” that show people how to compose plots that
address certain kinds of tasks. Right now, you can see many
more examples in the Github repo, e.g. https://github.com/bokeh/ bokeh/tree/0.10.0/examples
has the examples for version 0.10.

        Q: Can you make a server-style application run in jupyter

notebook, or does it need to run from the command line?

        A: Yes you can.  You need to run the bokeh server explicitly

from the command line, and then write Python code in the
notebook that pushes data to it and such, but the app output
can be embedded directly in the notebook. Additionally
improved notebook comms are coming which will make
integration with native Jupyter notebook interactors even
better.

        Q: Is it possible to interactively change the scale of the

plots (linear, log, semilog)?

        A: Yes you can.  We haven’t shown any examples of this, but

the type of scaling on each axis, as well as any axis
properties, are all just attributes that can be modified
dynamically, and will get reflected in the browser.

        Q: Do we always need to run the Bokeh server?




        A: No.  Bokeh can generate standalone interactive plots that

are fully contained in an HTML file or even embedded in the
output cell of a notebook. The bokeh server is only
necessary when you want to have Python code get called in
response to user interaction, or you want to have Python
code that streams or loops data up to the browser. In any
of the examples where we are using a CustomJS callback, the
interactivity did not require the bokeh server. So, for
example, you send them in an email and they would retain all
their interactivity.

        Q: How can you run the same python script again and again at

particular time interval - if a server is not required?

        A: It is necessary to run the Bokeh server in order to run

any python code, and for certain other kinds of plots and
capabilities.

        Q: Is there ability to add cool transitions while sliding

between years? For GapMinder

        A: Yes you could drive this “by hand” with a little JS code,

or from python code if you use a Bokeh server. We plan to
make this even simpler with built in animation transitions
and easing functions in the near future.

        Q: Are all visualizations and the interface mobile

responsive?

        A: Some of the tools are mobile-friendly (both touch and

size-responsive), but it’s not something we’ve optimized for
at this time.

        Q: Have you used Bokeh in data driven mobile applications?




        A: Bokeh currently has limited mobile/touch capability, but

we intend to make mobile support completely
supported/maintained under test in 2016

        Q: Can you point to an example app for real time twitter

data using bokeh?

        A: One difficulty with OSS development is that people don’t

always come talk to you when things “just work”. So I am not
sure of one offhand, but we’d be happy to help answer
questions to get you started making one. (Especially if we
can show it off later!)

        Q: How does Bokeh relate/compare to other interactive

plotting libraries like plotly?

        A: Bokeh is similar to plotly, but all of Bokeh, including

the Bokeh server and the upcoming DataShader library is
completely open source (BSD licensed).

        Q: What are the limitations with Bokeh, when compared to the

traditional method of creating web applications?

        A: Bokeh doesn’t really let you make web applications in the

traditional sense. As a web developer, I think of Bokeh more
like d3 in the sense that it is a library that I work with
to make visualizations. If I’m writing a web application, I
want a framework that handles requests, sessions,
authentication, maybe has an ORM etc. bokeh-server does one
thing which is to keep a synchronous connection between
plot(s) on a client and the server.

        A: You could use bokeh-server directly to write a very tight

data driven application with a few pages, but more than that
I’d be looking to use a normal web framework and embed bokeh
into it.

        A: You may want to embed bokeh charts as standalone charts

that are just powered by data from your web application’s
database. Or you may want to build something more dynamic
that leverages bokeh-server and your web application - a
demonstration of that will be coming with the 0.11 release.

        Q: It is said in Jupyter at the upper right that you use

Python 2. Is there a need to use Python 2 for bokeh, rather
than the 3?

        A: Bokeh is fully supported and continuously tested with

Python 2.7 and Python 3.4 and Python 3.5. Bokeh may function
with other versions of Python (including PyPy) but these
configurations are not guaranteed.

        Q: Does Bokeh support 3d plotting?



        A: Not yet, but this is a longer term goal.





        Q: Is there a Shiny equivalent product in python ecosystem?




        A: Our vision is for Bokeh Server to fill this capability.

When combined with the new Jupyter workbook with its new
layout system that we are helping to develop, python will
have a rock solid story in this arena, with capabilities
well beyond what Shiny can do.

        Q: How can you embed bokeh plots on a website? Does it make

HTML/embed codes?

        A: Information about embedding standalone Bokeh app is here:

http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html#components

        Q: Hello. I am a Django developer really interested in using

Bokeh for online visualization. What would be the best way
for serving Bokeh plots within a Django project?

        A: In addition to the embedding section of the userguide

(above) the 0.11 release coming on January 6 will also have
complete Django example integrating with the Bokeh server.
But in general the outline goes like this: include BokehJS
(from CDN) in your head, use ‘bokeh.embed.components’ in
your view code, and pass the resulting script and div into
context and use them in your template.

        Q: For a simple chart, how many points can you handle before

performance is an issue? And what can you do then to scale
up further?

        A: Standard Bokeh with HTML canvas can easily display tens

of thousands of points. The Bokeh WebGL backend can scale up
to hundreds of thousands of points (but only supports a
subset of glyphs yet). The DataShader library arriving in
early 2016 extends this range to millions to billions of
points.

        Q: Can bokeh be used to display spatial data?



        A: Yes, we have support for Google Maps together with Bokeh

plots and we just added a new generic Tile Renderer to be
able to use many tile sources, as well as a GeoJSON data
source. Many more GIS features coming in 2016.

        Q: Is is possible to write CustomJS that interact with the

CustomJS slider? ie in every second increase the year?

        A: Yes definitely, the slider can be updated

programmatically from Javascript (e.g., slider.set(‘value’,
10) ) or from python if you are using the Bokeh server,
(e.g, slider.value = 10).

        Q: Does Bokeh provide functions that display data arrays in

a spreadsheet (cellular) format? I want to eliminate the
Excel auto-import portion of my data display requirements,
and also get the benefits of dynamic data display that Bokeh
provides.

        A: There are lots of great Open Source tools for integrating

Python and Excel, you can a list of some at http://docs.continuum.io/ anaconda/excel
Look specifically for tighter Bokeh/Excel integrations
coming in 2016.

        Q: CustomJS with a Python function is very exciting since

one can avoid writing JS, but the python allowed is limited.
I’d love to use callbacks with pandas code to update data
plotted. Any chance this will happen down the road?

        A: If you need to run real python code (e.g. interact with

Pandas) then you will need to use the Bokeh server.

        Q: What limits the frame rate for the animations shown?



        A: The framerates are actually at 30+ FPS; however, the

GotoWebinar software is not able to broadcast at that
framework. They run very very smoothly! (Even the
spectrogram.) When we make the recording of the webinar
available, you can see that they are running at full
framerate.

        Q: Say I have a streaming data coming in every 0.1 second,

what do I need to pay attention to about the computational
load using Bokeh? My past experience with matplotlib is the
plot freezes after running for a while?

        A: The exact answer depends on particulars of your

situation, of course. But as an example the spectrogram has
been run continuously for 8+ hours at conferences, with ~30
updates per second.

        Q: Some time ago I was planning to use Bokeh to make contour

plots…I’ve noted a lack of a “cmap” and data tips… Are
there plans to add those features?

        A: My understanding of the question is: will hover tips work

with “colormap image plots”? If so, yes, we intend to add
hover capability to image plots in early 2016

        Q: Hello, it looks like the gapminder notebook require the

utils.py package. Is it available

        A: You can download utils.py here: [](http://nbviewer.ipython.org/github/bokeh/bokeh-notebooks/tree/master/tutorial/)[http://nbviewer.ipython.org/](http://nbviewer.ipython.org/)            github/bokeh/bokeh-notebooks/tree/master/tutorial/






        Q: Can you zoom in the right plot and have it reflect in the

left? Or is it monodirectional?

        A: You can definitely link plot ranges trivially by sharing

ranges between them, see http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linking-plots
But you can also trigger more sophisticated interactions
too, see: http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#customjs-for-range-update

        Q: Need rbokeh website  




        A: [http://hafen.github.io/rbokeh/](http://hafen.github.io/rbokeh/)






        Q: How can Bokeh be installed outside of Anaconda for R or

Python…I understand the pip method for Python.

        A: “pip install bokeh” should grab everything you need

  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/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io?utm_medium=email&utm_source=footer)[https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](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/56BB6C32.9090608%40gmail.com.

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


Peter Wang

CTO, Co-founder

The win-64 packages are up: https://anaconda.org/bokeh/datashader/files

thanks so much datashader team!!

···

On Wednesday, February 10, 2016 at 9:42:01 AM UTC-8, James A. Bednar wrote:

We’re building win64 packages now, and hopefully won’t run into any problems with dependencies. (datashader itself is pure Python, and thus does not require any particular platform). We’ll also put instructions for building from the github repo back onto the website. Thanks for raising the issue!

Jim

On Wed, Feb 10, 2016 at 11:05 AM, Peter Wang [email protected] wrote:

Thanks for posting those, Sarah - those are definitely the ones I was referring to. It looks like the README has been updated since then and I can’t seem to find them in the repo anymore. Jim, any insight or guidance?

Cheers,

Peter

On Wed, Feb 10, 2016 at 10:58 AM, Sarah Bird [email protected] wrote:

It looks like a build hasn’t been published for windows yet.

                I would suggest opening an issue
                on the data                      shader repo:

github.com/bokeh/datashader

                  In the meantime, I ha                          d no problem building

datashader locally using the instructions that were in the
README a couple
of days ago
(https://github.com/bokeh/datashader/blob/43f31f921462a9e13b928b267c1dce208a273463/README.md)


# Create a new conda environment, if desired
conda create -n datashader python=2.7
source activate datashader
# Install required packages, including latest fixes required
conda install numpy pandas xarray toolz numba datashape odo dask pillow
pip install --upgrade --no-deps git+[https://github.com/Blaze/odo](https://github.com/Blaze/odo)
pip install --upgrade --no-deps git+[https://github.com/Blaze/datashape](https://github.com/Blaze/datashape)

# Install Bokeh for running examples
conda install bokeh
# Install the datashader library
git clone [https://github.com/bokeh/datashader.git](https://github.com/bokeh/datashader.git)
cd datashader
python setup.py develop

HTH,

Bird





  On 2/10/16 8:10 AM, > > > [email protected] wrote:

Hi,

      I would like to ask a question about the datashader

package. I’ve been trying to install it using various
commands. But the one that should work anyway:

“conda install -c bokeh datashader”

returns the following:

      Error: No packages found in current win-64 channels

matching: datashader

      When I search for the datashader package with "anaconda

search -t conda datashader", it returns:

Packages:

        Name                      |  Version | Package Types

Platforms

        ------------------------- |   ------ |

--------------- | ---------------

        ahmadia/datashader        |    0.1.0 | conda        

linux-64, osx-64

        bokeh/datashader          |    0.1.0 | conda        

linux-64, osx-64

Found 2 packages

      Where I indeed see the bokeh datashader package that I

need. Do you have any idea why, when installing it, conda
can’t find it? And most of all, how to solve this problem and
simply install it.

My gratitude in advance!

Vuk

      Op dinsdag 15 december 2015 23:35:27 UTC+1 schreef Bryan Van > > > > de ven:
        Hi

all,

        First, for those that missed today's Bokeh webinar, here is

a link to the video:

            [https://continuum-analytics.wistia.com/medias/f6wp9dam91](https://continuum-analytics.wistia.com/medias/f6wp9dam91)




        And here are some answers to the great questions from the

webinar we didn’t get to answer due to the technical
problems at the end.

        ------




        Q: Seaborn doesn't incorporate bokeh - is Bokeh being used

to wrap seaborn/matplotlib?

        A: Bokeh has some basic support for converting Matplotlib

plots directly into Bokeh plots. See our examples gallery,
for example: http://bokeh.pydata.org/en/latest/docs/gallery/violin.html
More and better matplotlib coming when MPL implements their
new serialization scheme.

        Q: How can you schedule your python code to run at intervals

in Bokeh? Will the update with cpu scheduled data be real
time?

        A: Hopefully you saw this in the streaming example with the

wedges, but just to reiterate: you can just use time.sleep()
in your python code. In 0.11 (coming January 6) there is a
new add_periodic_callback that makes this even easier.

        Q: A lot of fiddling to figure it out is needed to figure

out the documentation. Can you suggest where we can find
more examples and more information to create customized
plots

        A: There are actually a lot of docs for bokeh, both in terms

of the API reference and user guides, as well as a live
gallery at http://bokeh.pydata.org/en/latest/docs/gallery.html .
However, we do appreciate that with a library of this
amount of capability, what we need are things more akin to
“cookbooks” that show people how to compose plots that
address certain kinds of tasks. Right now, you can see many
more examples in the Github repo, e.g. https://github.com/bokeh/bokeh /tree/0.10.0/examples
has the examples for version 0.10.

        Q: Can you make a server-style application run in jupyter

notebook, or does it need to run from the command line?

        A: Yes you can.  You need to run the bokeh server explicitly

from the command line, and then write Python code in the
notebook that pushes data to it and such, but the app output
can be embedded directly in the notebook. Additionally
improved notebook comms are coming which will make
integration with native Jupyter notebook interactors even
better.

        Q: Is it possible to interactively change the scale of the

plots (linear, log, semilog)?

        A: Yes you can.  We haven’t shown any examples of this, but

the type of scaling on each axis, as well as any axis
properties, are all just attributes that can be modified
dynamically, and will get reflected in the browser.

        Q: Do we always need to run the Bokeh server?




        A: No.  Bokeh can generate standalone interactive plots that

are fully contained in an HTML file or even embedded in the
output cell of a notebook. The bokeh server is only
necessary when you want to have Python code get called in
response to user interaction, or you want to have Python
code that streams or loops data up to the browser. In any
of the examples where we are using a CustomJS callback, the
interactivity did not require the bokeh server. So, for
example, you send them in an email and they would retain all
their interactivity.

        Q: How can you run the same python script again and again at

particular time interval - if a server is not required?

        A: It is necessary to run the Bokeh server in order to run

any python code, and for certain other kinds of plots and
capabilities.

        Q: Is there ability to add cool transitions while sliding

between years? For GapMinder

        A: Yes you could drive this “by hand” with a little JS code,

or from python code if you use a Bokeh server. We plan to
make this even simpler with built in animation transitions
and easing functions in the near future.

        Q: Are all visualizations and the interface mobile

responsive?

        A: Some of the tools are mobile-friendly (both touch and

size-responsive), but it’s not something we’ve optimized for
at this time.

        Q: Have you used Bokeh in data driven mobile applications?




        A: Bokeh currently has limited mobile/touch capability, but

we intend to make mobile support completely
supported/maintained under test in 2016

        Q: Can you point to an example app for real time twitter

data using bokeh?

        A: One difficulty with OSS development is that people don’t

always come talk to you when things “just work”. So I am not
sure of one offhand, but we’d be happy to help answer
questions to get you started making one. (Especially if we
can show it off later!)

        Q: How does Bokeh relate/compare to other interactive

plotting libraries like plotly?

        A: Bokeh is similar to plotly, but all of Bokeh, including

the Bokeh server and the upcoming DataShader library is
completely open source (BSD licensed).

        Q: What are the limitations with Bokeh, when compared to the

traditional method of creating web applications?

        A: Bokeh doesn’t really let you make web applications in the

traditional sense. As a web developer, I think of Bokeh more
like d3 in the sense that it is a library that I work with
to make visualizations. If I’m writing a web application, I
want a framework that handles requests, sessions,
authentication, maybe has an ORM etc. bokeh-server does one
thing which is to keep a synchronous connection between
plot(s) on a client and the server.

        A: You could use bokeh-server directly to write a very tight

data driven application with a few pages, but more than that
I’d be looking to use a normal web framework and embed bokeh
into it.

        A: You may want to embed bokeh charts as standalone charts

that are just powered by data from your web application’s
database. Or you may want to build something more dynamic
that leverages bokeh-server and your web application - a
demonstration of that will be coming with the 0.11 release.

        Q: It is said in Jupyter at the upper right that you use

Python 2. Is there a need to use Python 2 for bokeh, rather
than the 3?

        A: Bokeh is fully supported and continuously tested with

Python 2.7 and Python 3.4 and Python 3.5. Bokeh may function
with other versions of Python (including PyPy) but these
configurations are not guaranteed.

        Q: Does Bokeh support 3d plotting?



        A: Not yet, but this is a longer term goal.





        Q: Is there a Shiny equivalent product in python ecosystem?




        A: Our vision is for Bokeh Server to fill this capability.

When combined with the new Jupyter workbook with its new
layout system that we are helping to develop, python will
have a rock solid story in this arena, with capabilities
well beyond what Shiny can do.

        Q: How can you embed bokeh plots on a website? Does it make

HTML/embed codes?

        A: Information about embedding standalone Bokeh app is here:

http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html#components

        Q: Hello. I am a Django developer really interested in using

Bokeh for online visualization. What would be the best way
for serving Bokeh plots within a Django project?

        A: In addition to the embedding section of the userguide

(above) the 0.11 release coming on January 6 will also have
complete Django example integrating with the Bokeh server.
But in general the outline goes like this: include BokehJS
(from CDN) in your head, use ‘bokeh.embed.components’ in
your view code, and pass the resulting script and div into
context and use them in your template.

        Q: For a simple chart, how many points can you handle before

performance is an issue? And what can you do then to scale
up further?

        A: Standard Bokeh with HTML canvas can easily display tens

of thousands of points. The Bokeh WebGL backend can scale up
to hundreds of thousands of points (but only supports a
subset of glyphs yet). The DataShader library arriving in
early 2016 extends this range to millions to billions of
points.

        Q: Can bokeh be used to display spatial data?



        A: Yes, we have support for Google Maps together with Bokeh

plots and we just added a new generic Tile Renderer to be
able to use many tile sources, as well as a GeoJSON data
source. Many more GIS features coming in 2016.

        Q: Is is possible to write CustomJS that interact with the

CustomJS slider? ie in every second increase the year?

        A: Yes definitely, the slider can be updated

programmatically from Javascript (e.g., slider.set(‘value’,
10) ) or from python if you are using the Bokeh server,
(e.g, slider.value = 10).

        Q: Does Bokeh provide functions that display data arrays in

a spreadsheet (cellular) format? I want to eliminate the
Excel auto-import portion of my data display requirements,
and also get the benefits of dynamic data display that Bokeh
provides.

        A: There are lots of great Open Source tools for integrating

Python and Excel, you can a list of some at http://docs.continuum.io/anaco nda/excel
Look specifically for tighter Bokeh/Excel integrations
coming in 2016.

        Q: CustomJS with a Python function is very exciting since

one can avoid writing JS, but the python allowed is limited.
I’d love to use callbacks with pandas code to update data
plotted. Any chance this will happen down the road?

        A: If you need to run real python code (e.g. interact with

Pandas) then you will need to use the Bokeh server.

        Q: What limits the frame rate for the animations shown?



        A: The framerates are actually at 30+ FPS; however, the

GotoWebinar software is not able to broadcast at that
framework. They run very very smoothly! (Even the
spectrogram.) When we make the recording of the webinar
available, you can see that they are running at full
framerate.

        Q: Say I have a streaming data coming in every 0.1 second,

what do I need to pay attention to about the computational
load using Bokeh? My past experience with matplotlib is the
plot freezes after running for a while?

        A: The exact answer depends on particulars of your

situation, of course. But as an example the spectrogram has
been run continuously for 8+ hours at conferences, with ~30
updates per second.

        Q: Some time ago I was planning to use Bokeh to make contour

plots…I’ve noted a lack of a “cmap” and data tips… Are
there plans to add those features?

        A: My understanding of the question is: will hover tips work

with “colormap image plots”? If so, yes, we intend to add
hover capability to image plots in early 2016

        Q: Hello, it looks like the gapminder notebook require the

utils.py package. Is it available

        A: You can download utils.py here: [](http://nbviewer.ipython.org/github/bokeh/bokeh-notebooks/tree/master/tutorial/)[http://nbviewer.ipython.org/](http://nbviewer.ipython.org/)github/bokeh/bokeh-notebooks/            tree/master/tutorial/






        Q: Can you zoom in the right plot and have it reflect in the

left? Or is it monodirectional?

        A: You can definitely link plot ranges trivially by sharing

ranges between them, see http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linking-plots
But you can also trigger more sophisticated interactions
too, see: http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#customjs-for-range-update

        Q: Need rbokeh website  




        A: [http://hafen.github.io/rbokeh/](http://hafen.github.io/rbokeh/)






        Q: How can Bokeh be installed outside of Anaconda for R or

Python…I understand the pip method for Python.

        A: “pip install bokeh” should grab everything you need

  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/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io?utm_medium=email&utm_source=footer)[https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/c9549ac6-abbe-4186-98ca-2bbf86779829%40continuum.io).

  For more options, visit [https://groups.google.com/a/continuum.io/d/optout](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/56BB6C32.9090608%40gmail.com.

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


Peter Wang

CTO, Co-founder

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/CABGrp%2B9Ed0Y4MH-P5v72%3D9LdBMr8hfchS3kL34d_memkzBt4fw%40mail.gmail.com.

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

Thank you very very much!!

Vuk

···

Op dinsdag 15 december 2015 23:35:27 UTC+1 schreef Bryan Van de ven:

Hi all,

First, for those that missed today’s Bokeh webinar, here is a link to the video:

[https://continuum-analytics.wistia.com/medias/f6wp9dam91](https://continuum-analytics.wistia.com/medias/f6wp9dam91)

And here are some answers to the great questions from the webinar we didn’t get to answer due to the technical problems at the end.


Q: Seaborn doesn’t incorporate bokeh - is Bokeh being used to wrap seaborn/matplotlib?

A: Bokeh has some basic support for converting Matplotlib plots directly into Bokeh plots. See our examples gallery, for example: http://bokeh.pydata.org/en/latest/docs/gallery/violin.html More and better matplotlib coming when MPL implements their new serialization scheme.

Q: How can you schedule your python code to run at intervals in Bokeh? Will the update with cpu scheduled data be real time?

A: Hopefully you saw this in the streaming example with the wedges, but just to reiterate: you can just use time.sleep() in your python code. In 0.11 (coming January 6) there is a new add_periodic_callback that makes this even easier.

Q: A lot of fiddling to figure it out is needed to figure out the documentation. Can you suggest where we can find more examples and more information to create customized plots

A: There are actually a lot of docs for bokeh, both in terms of the API reference and user guides, as well as a live gallery at http://bokeh.pydata.org/en/latest/docs/gallery.html. However, we do appreciate that with a library of this amount of capability, what we need are things more akin to “cookbooks” that show people how to compose plots that address certain kinds of tasks. Right now, you can see many more examples in the Github repo, e.g. https://github.com/bokeh/bokeh/tree/0.10.0/examples has the examples for version 0.10.

Q: Can you make a server-style application run in jupyter notebook, or does it need to run from the command line?

A: Yes you can. You need to run the bokeh server explicitly from the command line, and then write Python code in the notebook that pushes data to it and such, but the app output can be embedded directly in the notebook. Additionally improved notebook comms are coming which will make integration with native Jupyter notebook interactors even better.

Q: Is it possible to interactively change the scale of the plots (linear, log, semilog)?

A: Yes you can. We haven’t shown any examples of this, but the type of scaling on each axis, as well as any axis properties, are all just attributes that can be modified dynamically, and will get reflected in the browser.

Q: Do we always need to run the Bokeh server?

A: No. Bokeh can generate standalone interactive plots that are fully contained in an HTML file or even embedded in the output cell of a notebook. The bokeh server is only necessary when you want to have Python code get called in response to user interaction, or you want to have Python code that streams or loops data up to the browser. In any of the examples where we are using a CustomJS callback, the interactivity did not require the bokeh server. So, for example, you send them in an email and they would retain all their interactivity.

Q: How can you run the same python script again and again at particular time interval - if a server is not required?

A: It is necessary to run the Bokeh server in order to run any python code, and for certain other kinds of plots and capabilities.

Q: Is there ability to add cool transitions while sliding between years? For GapMinder

A: Yes you could drive this “by hand” with a little JS code, or from python code if you use a Bokeh server. We plan to make this even simpler with built in animation transitions and easing functions in the near future.

Q: Are all visualizations and the interface mobile responsive?

A: Some of the tools are mobile-friendly (both touch and size-responsive), but it’s not something we’ve optimized for at this time.

Q: Have you used Bokeh in data driven mobile applications?

A: Bokeh currently has limited mobile/touch capability, but we intend to make mobile support completely supported/maintained under test in 2016

Q: Can you point to an example app for real time twitter data using bokeh?

A: One difficulty with OSS development is that people don’t always come talk to you when things “just work”. So I am not sure of one offhand, but we’d be happy to help answer questions to get you started making one. (Especially if we can show it off later!)

Q: How does Bokeh relate/compare to other interactive plotting libraries like plotly?

A: Bokeh is similar to plotly, but all of Bokeh, including the Bokeh server and the upcoming DataShader library is completely open source (BSD licensed).

Q: What are the limitations with Bokeh, when compared to the traditional method of creating web applications?

A: Bokeh doesn’t really let you make web applications in the traditional sense. As a web developer, I think of Bokeh more like d3 in the sense that it is a library that I work with to make visualizations. If I’m writing a web application, I want a framework that handles requests, sessions, authentication, maybe has an ORM etc. bokeh-server does one thing which is to keep a synchronous connection between plot(s) on a client and the server.

A: You could use bokeh-server directly to write a very tight data driven application with a few pages, but more than that I’d be looking to use a normal web framework and embed bokeh into it.

A: You may want to embed bokeh charts as standalone charts that are just powered by data from your web application’s database. Or you may want to build something more dynamic that leverages bokeh-server and your web application - a demonstration of that will be coming with the 0.11 release.

Q: It is said in Jupyter at the upper right that you use Python 2. Is there a need to use Python 2 for bokeh, rather than the 3?

A: Bokeh is fully supported and continuously tested with Python 2.7 and Python 3.4 and Python 3.5. Bokeh may function with other versions of Python (including PyPy) but these configurations are not guaranteed.

Q: Does Bokeh support 3d plotting?

A: Not yet, but this is a longer term goal.

Q: Is there a Shiny equivalent product in python ecosystem?

A: Our vision is for Bokeh Server to fill this capability. When combined with the new Jupyter workbook with its new layout system that we are helping to develop, python will have a rock solid story in this arena, with capabilities well beyond what Shiny can do.

Q: How can you embed bokeh plots on a website? Does it make HTML/embed codes?

A: Information about embedding standalone Bokeh app is here: http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html#components

Q: Hello. I am a Django developer really interested in using Bokeh for online visualization. What would be the best way for serving Bokeh plots within a Django project?

A: In addition to the embedding section of the userguide (above) the 0.11 release coming on January 6 will also have complete Django example integrating with the Bokeh server. But in general the outline goes like this: include BokehJS (from CDN) in your head, use ‘bokeh.embed.components’ in your view code, and pass the resulting script and div into context and use them in your template.

Q: For a simple chart, how many points can you handle before performance is an issue? And what can you do then to scale up further?

A: Standard Bokeh with HTML canvas can easily display tens of thousands of points. The Bokeh WebGL backend can scale up to hundreds of thousands of points (but only supports a subset of glyphs yet). The DataShader library arriving in early 2016 extends this range to millions to billions of points.

Q: Can bokeh be used to display spatial data?

A: Yes, we have support for Google Maps together with Bokeh plots and we just added a new generic Tile Renderer to be able to use many tile sources, as well as a GeoJSON data source. Many more GIS features coming in 2016.

Q: Is is possible to write CustomJS that interact with the CustomJS slider? ie in every second increase the year?

A: Yes definitely, the slider can be updated programmatically from Javascript (e.g., slider.set(‘value’, 10) ) or from python if you are using the Bokeh server, (e.g, slider.value = 10).

Q: Does Bokeh provide functions that display data arrays in a spreadsheet (cellular) format? I want to eliminate the Excel auto-import portion of my data display requirements, and also get the benefits of dynamic data display that Bokeh provides.

A: There are lots of great Open Source tools for integrating Python and Excel, you can a list of some at http://docs.continuum.io/anaconda/excel Look specifically for tighter Bokeh/Excel integrations coming in 2016.

Q: CustomJS with a Python function is very exciting since one can avoid writing JS, but the python allowed is limited. I’d love to use callbacks with pandas code to update data plotted. Any chance this will happen down the road?

A: If you need to run real python code (e.g. interact with Pandas) then you will need to use the Bokeh server.

Q: What limits the frame rate for the animations shown?

A: The framerates are actually at 30+ FPS; however, the GotoWebinar software is not able to broadcast at that framework. They run very very smoothly! (Even the spectrogram.) When we make the recording of the webinar available, you can see that they are running at full framerate.

Q: Say I have a streaming data coming in every 0.1 second, what do I need to pay attention to about the computational load using Bokeh? My past experience with matplotlib is the plot freezes after running for a while?

A: The exact answer depends on particulars of your situation, of course. But as an example the spectrogram has been run continuously for 8+ hours at conferences, with ~30 updates per second.

Q: Some time ago I was planning to use Bokeh to make contour plots…I’ve noted a lack of a “cmap” and data tips… Are there plans to add those features?

A: My understanding of the question is: will hover tips work with “colormap image plots”? If so, yes, we intend to add hover capability to image plots in early 2016

Q: Hello, it looks like the gapminder notebook require the utils.py package. Is it available

A: You can download utils.py here: http://nbviewer.ipython.org/github/bokeh/bokeh-notebooks/tree/master/tutorial/

Q: Can you zoom in the right plot and have it reflect in the left? Or is it monodirectional?

A: You can definitely link plot ranges trivially by sharing ranges between them, see http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#linking-plots But you can also trigger more sophisticated interactions too, see: http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#customjs-for-range-update

Q: Need rbokeh website

A: http://hafen.github.io/rbokeh/

Q: How can Bokeh be installed outside of Anaconda for R or Python…I understand the pip method for Python.

A: “pip install bokeh” should grab everything you need