-
-
Notifications
You must be signed in to change notification settings - Fork 404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document bokeh interactive legends #1265
Comments
This is already implemented and enabled by default, e.g.: You can control the alpha of the disabled Curve with the |
Reopening to document this behavior in the Bokeh_Backend tutorial. |
Thank you, @philippjfr ! |
Hi, I noticed that %%opts Overlay [width=600 legend_position='top_left'] Curve (muted_alpha=0.5 muted_color='black')
try:
import bokeh.sampledata.stocks
except:
import bokeh.sampledata
bokeh.sampledata.download()
from bokeh.sampledata.stocks import GOOG, AAPL
goog_dates = np.array(GOOG['date'], dtype=np.datetime64)
aapl_dates = np.array(AAPL['date'], dtype=np.datetime64)
hv.Curve((goog_dates, GOOG['adj_close']), kdims=['Date'], vdims=['Stock Index'], label='Google') *\
hv.Curve((aapl_dates, AAPL['adj_close']), kdims=['Date'], vdims=['Stock Index'], label='Apple')
AttributeError [Call holoviews.ipython.show_traceback() for details]
unexpected attribute 'muted_color' to Line, similar attributes are line_color Thanks in Advance. |
Thanks @thoth291 we'll be bringing our new website up soon and this should be fixed then. It's simply because the old website appears to have been built with an old version of bokeh. |
Documented in the PR referenced above. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In my issue #1261 you can see multiple curves on one plot.
Is it possible to adopt recently pushed Interactive Legends in bokeh (bokeh/bokeh#5349) so that the "cases" would be clickable and I could switch one "on" and "off"?
Or may be there is a better way of doing it using holoviews?
Thanks!
The text was updated successfully, but these errors were encountered: