Plot does not display in Jupyter nb

I am trying to learn to use Bokeh in Juypter.
When I try to display my plot it fails

So, I went to the documentation and copied an example, and I get the same error (see below)

Hope you can help

thanks

image.png

.

.

Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956

···

Consultant - RESERVOIR ENGINEER

Hi,

Jupyter integration has been variously challenging over the years, and there have been bugs and other issue from time to time. I don't recall specifically, but it's certainly possible that there were issues with Jupyter and 0.12.9 that have been subsequently addressed, so my first suggestion is to see if you have a problem with current versions (0.12.14 is the current latest).

Thanks,

Bryan

···

On Mar 6, 2018, at 21:52, David Price <[email protected]> wrote:

I am trying to learn to use Bokeh in Juypter.
When I try to display my plot it fails
So, I went to the documentation and copied an example, and I get the same error (see below)
Hope you can help

thanks

<image.png>

.
.
Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956
________________________________________
Consultant - RESERVOIR ENGINEER

--
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+unsubs[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/CAPLGOa%3DjNatL2%2BxJ07PNMhBVeiXfggZ1GNKEoieGnsfzk1o_bQ%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hi David,

I’ve also experienced this issue before. Without going into too much detail, it’s likely occurring because the platform you are working on does not support dynamic output that uses JS or CSS, etc.

I’m working on a current project, Kyso, and I’ve just ran your code in one of my notebooks & it works just fine. See here: https://kyso.io/KyleOS/bokeh-example. Note that the plot renders nicely.

You can clone the the repo if you like & re-run with different parameters.

Hope this helps,

Kyle

···

On Wednesday, March 7, 2018 at 12:53:16 AM UTC-5, David Price wrote:

I am trying to learn to use Bokeh in Juypter.
When I try to display my plot it fails

So, I went to the documentation and copied an example, and I get the same error (see below)

Hope you can help

thanks

.

.

Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956


Consultant - RESERVOIR ENGINEER

I am using Enthought’s Canopy as my platform
After Bryan’s reply I got in touch with them and they say this is a known issue and that they are working on this

Be interested to know what alternative platforms people are using and preferences

cheers

.

.

Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956

···

Consultant - RESERVOIR ENGINEER

On Thu, 8 Mar 2018 at 14:25 [email protected] wrote:

Hi David,

I’ve also experienced this issue before. Without going into too much detail, it’s likely occurring because the platform you are working on does not support dynamic output that uses JS or CSS, etc.

I’m working on a current project, Kyso, and I’ve just ran your code in one of my notebooks & it works just fine. See here: https://kyso.io/KyleOS/bokeh-example. Note that the plot renders nicely.

You can clone the the repo if you like & re-run with different parameters.

Hope this helps,

Kyle

On Wednesday, March 7, 2018 at 12:53:16 AM UTC-5, David Price wrote:

I am trying to learn to use Bokeh in Juypter.
When I try to display my plot it fails

So, I went to the documentation and copied an example, and I get the same error (see below)

Hope you can help

thanks

.

.

Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956


Consultant - RESERVOIR ENGINEER

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/e250ca77-e892-44e0-bcbd-a0c0ab1fb4cb%40continuum.io.

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

Hi,

I would recommend the Anaconda Distribution:

  https://www.anaconda.com/what-is-anaconda/

NB: I am certainly as biased as anyone can possibly be (I am the original author of conda).

Thanks,

Bryan

···

On Mar 7, 2018, at 21:20, David Price <[email protected]> wrote:

I am using Enthought's Canopy as my platform
After Bryan's reply I got in touch with them and they say this is a known issue and that they are working on this
Be interested to know what alternative platforms people are using and preferences

cheers

.
.
Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956
________________________________________
Consultant - RESERVOIR ENGINEER

On Thu, 8 Mar 2018 at 14:25 <[email protected]> wrote:
Hi David,

I've also experienced this issue before. Without going into too much detail, it's likely occurring because the platform you are working on does not support dynamic output that uses JS or CSS, etc.

I'm working on a current project, Kyso, and I've just ran your code in one of my notebooks & it works just fine. See here: https://kyso.io/KyleOS/bokeh-example. Note that the plot renders nicely.

You can clone the the repo if you like & re-run with different parameters.

Hope this helps,

Kyle

On Wednesday, March 7, 2018 at 12:53:16 AM UTC-5, David Price wrote:
I am trying to learn to use Bokeh in Juypter.
When I try to display my plot it fails
So, I went to the documentation and copied an example, and I get the same error (see below)
Hope you can help

thanks

.
.
Dave Price
2 Milton Avenue, Beaumont, South Australia 5066
m: +61 414 470051 h: +618 71278612
skype: davidprice1956
________________________________________
Consultant - RESERVOIR ENGINEER

--
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/e250ca77-e892-44e0-bcbd-a0c0ab1fb4cb%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAPLGOan9vU4wbM5fB7T%2BQKY9qMMz15%2BTw8BS0-jPfN6NdmmEMg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.