You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to http://holoviews.org/Tutorials/Bokeh_Backend.html
-> Selection tools
one should be able to specify the unselected_color which determines the color of unselected colors when using e.g. tools=[lasso_select].
gives me the following error: AttributeError [Call holoviews.ipython.show_traceback() for details] unexpected attribute 'alpha' to Circle, similar attributes are line_alpha or fill_alpha
hv.ipython.show_traceback()
Traceback (most recent call last):
File "/home/de3u14/lib/anaconda/envs/hv-dev/lib/python3.6/site-packages/holoviews/plotting/bokeh/element.py", line 638, in initialize_plot renderer, glyph = self._init_glyph(plot, mapping, properties)
File "/home/de3u14/lib/anaconda/envs/hv-dev/lib/python3.6/site-packages/holoviews/plotting/bokeh/chart.py", line 127, in _init_glyph unselected = Circle(**dict(properties, fill_color=unselect_color, **mapping))
File "/home/de3u14/lib/anaconda/envs/hv-dev/lib/python3.6/site-packages/bokeh/model.py", line 145, in __init__ super(Model, self).__init__(**kwargs) File "/home/de3u14/lib/anaconda/envs/hv-dev/lib/python3.6/site-packages/bokeh/core/has_props.py", line 222, in __init__ setattr(self, name, value)
File "/home/de3u14/lib/anaconda/envs/hv-dev/lib/python3.6/site-packages/bokeh/core/has_props.py", line 258, in __setattr__ (name, self.__class__.__name__, text, nice_join(matches))) AttributeError: unexpected attribute 'alpha' to Circle, similar attributes are line_alpha or fill_alpha
If using fill_alpha instead of alpha I get circles with black edges, and seem to loose the ability to select points (i.e. I don't see any visual feedback)
On a related note it would be nice to also specify unselected_alpha to improve the unselected glyph styling.
I've now provided full control over the regular, unselection and unselection glyphs. They are now all available as style options. Note however that unselected_color is now unselection_color.
According to
http://holoviews.org/Tutorials/Bokeh_Backend.html
-> Selection tools
one should be able to specify the
unselected_color
which determines the color of unselected colors when using e.g.tools=[lasso_select]
.However, this
gives me the following error:
AttributeError [Call holoviews.ipython.show_traceback() for details] unexpected attribute 'alpha' to Circle, similar attributes are line_alpha or fill_alpha
If using
fill_alpha
instead ofalpha
I get circles with black edges, and seem to loose the ability to select points (i.e. I don't see any visual feedback)On a related note it would be nice to also specify
unselected_alpha
to improve the unselected glyph styling.(edit)
Example notebook:
https://www.dropbox.com/s/x7mokfpqf5lpuen/mwtc_xsec_scan_holoviews-1.6.2-unselected.ipynb?dl=0
Cheers,
David
The text was updated successfully, but these errors were encountered: