I understand the error and made a new simple test which provide a javascrip error:
from bokeh.io import output_notebook, show
from bokeh.charts import BoxPlot
from bokeh.sampledata.iris import flowers
p = BoxPlot(flowers, label=‘species’, values=‘petal_width’, tools=‘crosshair’, color=’#aa4444’,
xlabel=’’, ylabel=‘petal width, mm’, title=‘Distributions of petal widths’)
bp = BoxPlot( data=flowers, values=‘sepal_length’)
TypeError: Cannot read property ‘indexOf’ of null
So what’s the heck ? Is there a way having only one BoxPlot when working with time series ? Or BoxPlot can’t figure out a singleton ?
On Tue, May 16, 2017 at 10:07 PM Raphael Walker [email protected] wrote:
a = None
b = a
You will get an error like you have. That's a very common error and
without a running example it’s impossible to help.
Have a nice evening.
On 2017-05-16 19:13, alEx S wrote:
The situation is really simple : I want a single boxplot
from a list of integers, and I don’t understand the error
message: TypeError: ‘NoneType’ object is not subscriptable.
bp = BoxPlot( data=data, values=‘values’)
with df.info() =>
RangeIndex: 726 entries, 0 to 725
Data columns (total 1 columns):
values 726 non-null int64
memory usage: 5.8 KB
Any one got an idea ?
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/09fe5d59-7533-425c-a32d-d2f738953bd1%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/09fe5d59-7533-425c-a32d-d2f738953bd1%40continuum.io?utm_medium=email&utm_source=footer).
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/f5488c51-1ae0-7b3d-85a0-0f821001a869%40busino.ch.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.