Hi Community,
Is there a way to mute/hide a data series visualization in a Layout overlay by default?
For example, I want visualize two time series, where one of them should be by default muted/hidden.
What options do I use to achieve this?
import numpy as np
import holoviews as hv
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)
goog = hv.Curve((goog_dates, GOOG['adj_close']), 'Date', 'Stock Index', label='Google').opts(muted=True)
aapl = hv.Curve((aapl_dates, AAPL['adj_close']), 'Date', 'Stock Index', label='Apple')
fig = (goog * aapl).opts(width=600, legend_position='top_left')
fig
More generally,
- Is there a full list of options for these holoviews objects I can look up?
- How to I print a full list of options used by a particular holoviews object?