Cannot read property 'indexOf' of null

Hi all

I am new to Bokeh. I ran the following piece of code :

from bokeh.plotting import figure, output_file, show

from bokeh.charts import BoxPlot

from bokeh.sampledata.autompg import autompg

output_file(’…/test1.html’)

b = BoxPlot(autompg, values=‘mpg’)

show(b)

I get an error which says

Bokeh Error

Cannot read property 'indexOf' of null

Can anyone help ?

Thanks

Hi,

···

On Thu, Apr 20, 2017 at 8:55 AM, sidbazinga [email protected] wrote:

Hi all

I am new to Bokeh. I ran the following piece of code :

from bokeh.plotting import figure, output_file, show

from bokeh.charts import BoxPlot

from bokeh.sampledata.autompg import autompg

output_file(’…/test1.html’)

b = BoxPlot(autompg, values=‘mpg’)

show(b)

I get an error which says

Bokeh Error

Cannot read property 'indexOf' of null


Can anyone help ?

what web browser and version of bokeh do you use?

Mateusz



Thanks

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

To unsubscribe from this group and stop receiving emails from it, send an email to [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/6807aca0-89c2-4d22-af49-c3abcd5b479c%40continuum.io.

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

Hi

Browser is Google Chrome version : Version 56.0.2924.87 (64-bit)

Bokeh version : 0.12.5

Thanks

···

On Thu, Apr 20, 2017 at 10:18 PM, Mateusz Paprocki [email protected] wrote:

Hi,

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

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

To unsubscribe from this group and all its topics, 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/CANFzp8hZp-B1%2BtmUs0DU5MFbkvjiwnuKigvYsOrOmNtatsz%3DWQ%40mail.gmail.com.

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

On Thu, Apr 20, 2017 at 8:55 AM, sidbazinga [email protected] wrote:

Hi all

I am new to Bokeh. I ran the following piece of code :

from bokeh.plotting import figure, output_file, show

from bokeh.charts import BoxPlot

from bokeh.sampledata.autompg import autompg

output_file(’…/test1.html’)

b = BoxPlot(autompg, values=‘mpg’)

show(b)

I get an error which says

Bokeh Error

Cannot read property 'indexOf' of null


Can anyone help ?

what web browser and version of bokeh do you use?

Mateusz



Thanks

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

To unsubscribe from this group and stop receiving emails from it, send an email to [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/6807aca0-89c2-4d22-af49-c3abcd5b479c%40continuum.io.

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

It looks like BoxPlot doesn’t support a single dimensional plot without a specified label column. One possible work around for this is to create a filler column to assign to label.

from [bokeh.io](http://bokeh.io) import output_file, show
from bokeh.charts import BoxPlot
from bokeh.sampledata.autompg import autompg
output_file('./test1.html')
autompg['all mpg'] = ''
b = BoxPlot(autompg, values='mpg', label='all mpg')
show(b)

···

On Thu, Apr 20, 2017 at 10:03 AM, sidharth mallik [email protected] wrote:

Hi

Browser is Google Chrome version : Version 56.0.2924.87 (64-bit)

Bokeh version : 0.12.5

Thanks

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

To unsubscribe from this group and stop receiving emails from it, send an email to [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/CACUoRqtOSSCGw82mxBc%2BSgSs3yFCujXtdcGgzUEPdwFfd-CFxA%40mail.gmail.com.

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

On Thu, Apr 20, 2017 at 10:18 PM, Mateusz Paprocki [email protected] wrote:

Hi,

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

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

To unsubscribe from this group and all its topics, 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/CANFzp8hZp-B1%2BtmUs0DU5MFbkvjiwnuKigvYsOrOmNtatsz%3DWQ%40mail.gmail.com.

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

On Thu, Apr 20, 2017 at 8:55 AM, sidbazinga [email protected] wrote:

Hi all

I am new to Bokeh. I ran the following piece of code :

from bokeh.plotting import figure, output_file, show

from bokeh.charts import BoxPlot

from bokeh.sampledata.autompg import autompg

output_file(’…/test1.html’)

b = BoxPlot(autompg, values=‘mpg’)

show(b)

I get an error which says

Bokeh Error

Cannot read property 'indexOf' of null


Can anyone help ?

what web browser and version of bokeh do you use?

Mateusz



Thanks

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

To unsubscribe from this group and stop receiving emails from it, send an email to [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/6807aca0-89c2-4d22-af49-c3abcd5b479c%40continuum.io.

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

Hi Tyler

Works fine with the modification you pointed out.

Thanks

Sidharth

···

On Fri, Apr 21, 2017 at 8:45 PM, Tyler Nickerson [email protected] wrote:

It looks like BoxPlot doesn’t support a single dimensional plot without a specified label column. One possible work around for this is to create a filler column to assign to label.

from [bokeh.io](http://bokeh.io) import output_file, show
from bokeh.charts import BoxPlot
from bokeh.sampledata.autompg import autompg
output_file('./test1.html')
autompg['all mpg'] = ''
b = BoxPlot(autompg, values='mpg', label='all mpg')
show(b)

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

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

To unsubscribe from this group and all its topics, 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/CAAd1xFTR1HXWUUUk0%2BbZpeKDBpzOAkxayruxr7UKqOjJ6gkZCQ%40mail.gmail.com.

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

On Thu, Apr 20, 2017 at 10:03 AM, sidharth mallik [email protected] wrote:

Hi

Browser is Google Chrome version : Version 56.0.2924.87 (64-bit)

Bokeh version : 0.12.5

Thanks

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

To unsubscribe from this group and stop receiving emails from it, send an email to [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/CACUoRqtOSSCGw82mxBc%2BSgSs3yFCujXtdcGgzUEPdwFfd-CFxA%40mail.gmail.com.

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

On Thu, Apr 20, 2017 at 10:18 PM, Mateusz Paprocki [email protected] wrote:

Hi,

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

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

To unsubscribe from this group and all its topics, 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/CANFzp8hZp-B1%2BtmUs0DU5MFbkvjiwnuKigvYsOrOmNtatsz%3DWQ%40mail.gmail.com.

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

On Thu, Apr 20, 2017 at 8:55 AM, sidbazinga [email protected] wrote:

Hi all

I am new to Bokeh. I ran the following piece of code :

from bokeh.plotting import figure, output_file, show

from bokeh.charts import BoxPlot

from bokeh.sampledata.autompg import autompg

output_file(’…/test1.html’)

b = BoxPlot(autompg, values=‘mpg’)

show(b)

I get an error which says

Bokeh Error

Cannot read property 'indexOf' of null


Can anyone help ?

what web browser and version of bokeh do you use?

Mateusz



Thanks

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

To unsubscribe from this group and stop receiving emails from it, send an email to [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/6807aca0-89c2-4d22-af49-c3abcd5b479c%40continuum.io.

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