Hello,
I have a fairly large dataset that i wish to use for some exploratory data analysis. After painfully discovering the limitations of SVG in the browser for such a task i came across Bokeh and tried out some of the examples (vectors, stocks, line_animate) in the server folder from the repo.
However, the abstract rendering examples that i am primarily interested currently fails with the following error messages:
Traceback (most recent call last):
File “census.py”, line 22, in
ar.heatmap(arplot, palette=“Reds9”, reserve_val=0, points=True, client_color=True, title=“Census Tracts (Client Colors)”)
File “/usr/local/lib/python2.7/site-packages/bokeh/transforms/ar_downsample.py”, line 853, in heatmap
**kwargs)
File “/usr/local/lib/python2.7/site-packages/bokeh/transforms/ar_downsample.py”, line 459, in replot
new_plot.image(source=src, **plot_opts)
File “/usr/local/lib/python2.7/site-packages/bokeh/_glyph_functions.py”, line 37, in func
glyph = _make_glyph(glyphclass, kwargs, glyph_ca)
File “/usr/local/lib/python2.7/site-packages/bokeh/plotting_helpers.py”, line 140, in _make_glyph
return glyphclass(**kws)
File “/usr/local/lib/python2.7/site-packages/bokeh/models/glyphs.py”, line 299, in init
super(Image, self).init(**kwargs)
File “/usr/local/lib/python2.7/site-packages/bokeh/plot_object.py”, line 90, in init
super(PlotObject, self).init(**kwargs)
File “/usr/local/lib/python2.7/site-packages/bokeh/properties.py”, line 357, in init
setattr(self, name, value)
File “/usr/local/lib/python2.7/site-packages/bokeh/properties.py”, line 371, in setattr
(name, self.class.name, text, nice_join(matches)))
AttributeError: unexpected attribute ‘x_range’ to Image, possible attributes are color_mapper, dh, dh_units, dilate, dw, dw_units, image, name, session, tags, visible, x or y
···
===
Traceback (most recent call last):
File “abstractrender.py”, line 20, in
arplot = ar.heatmap(plot, spread=3, transform=None, title=“Server-rendered, uncorrected”)
File “/usr/local/lib/python2.7/site-packages/bokeh/transforms/ar_downsample.py”, line 853, in heatmap
**kwargs)
File “/usr/local/lib/python2.7/site-packages/bokeh/transforms/ar_downsample.py”, line 461, in replot
new_plot.image_rgba(source=src, **plot_opts)
File “/usr/local/lib/python2.7/site-packages/bokeh/_glyph_functions.py”, line 37, in func
glyph = _make_glyph(glyphclass, kwargs, glyph_ca)
File “/usr/local/lib/python2.7/site-packages/bokeh/plotting_helpers.py”, line 140, in _make_glyph
return glyphclass(**kws)
File “/usr/local/lib/python2.7/site-packages/bokeh/plot_object.py”, line 90, in init
super(PlotObject, self).init(**kwargs)
File “/usr/local/lib/python2.7/site-packages/bokeh/properties.py”, line 357, in init
setattr(self, name, value)
File “/usr/local/lib/python2.7/site-packages/bokeh/properties.py”, line 371, in setattr
(name, self.class.name, text, nice_join(matches)))
AttributeError: unexpected attribute ‘x_range’ to ImageRGBA, possible attributes are cols, dh, dh_units, dilate, dw, dw_units, image, name, rows, session, tags, visible, x or y
I couldn’t found any similar issue on the list. Since the other examples seem to run fine i am not sure what i missed. Have i botched up the setup in some way?
-Vaibhav