Holoviews: Add possibility to plot as muted/invisible

Created on 24 May 2019  路  4Comments  路  Source: holoviz/holoviews

It would be cool to have the possibility to initialise parts of plots as muted, so to say that you have more possible information available on plotting but you're not being overwhelmed with it in the first moment. Something like a muted flag to be passed:

hv.Overlay([
    hv.Curve((np.arange(5)), label='increase') *
    hv.Curve((np.arange(5)*-1+5), label='decrease', muted=True)
])

I know there is the possibility in bokeh to set the visible attribute for lines bokeh#6968 and I'm quite sure that this could already be achieved with the hooks functionality - though I can't and I'd be in favour of an easy option to pass that.

If this was already discussed somewhere around - my apologies I did not find anything helpful.

feature

Most helpful comment

This should be very easy to add, we should consistently expose muted and visible properties on all elements. Just to be clear the spelling would be:

hv.Overlay([
    hv.Curve((np.arange(5)), label='increase') *
    hv.Curve((np.arange(5)*-1+5), label='decrease').opts(muted=True)
])

All 4 comments

This should be very easy to add, we should consistently expose muted and visible properties on all elements. Just to be clear the spelling would be:

hv.Overlay([
    hv.Curve((np.arange(5)), label='increase') *
    hv.Curve((np.arange(5)*-1+5), label='decrease').opts(muted=True)
])

This should be very easy to add, we should consistently expose muted and visible properties on all elements. Just to be clear the spelling would be:

hv.Overlay([
    hv.Curve((np.arange(5)), label='increase') *
    hv.Curve((np.arange(5)*-1+5), label='decrease').opts(muted=True)
])

Damn you're quick. If you see an useful feature therein I could absolutely live with that spelling.

+1 for this exposure. It would help me to create a workaround for #4171

I'll add it to this milestone.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Forander picture Forander  路  6Comments

cristi-neagu picture cristi-neagu  路  5Comments

nbren12 picture nbren12  路  5Comments

ahundt picture ahundt  路  6Comments

ahuang11 picture ahuang11  路  5Comments