[bokeh] Plot with muted/hidden series

Hi everyone,

I’d like to know if I can choose some series to be already muted (or hidden) before plotting. I explain myself better with an example:

I have this graph:

Immagine incorporata 2

I would like the default plot being:

Immagine incorporata 1

In this way the series 2014 and 2018 are there but bokeh knows that I want them plotted already muted (or hidden). Hope to be clear.

Thank you!

This should work:

  r = p.line(...)
  r.muted = True

Thanks,

Bryan

···

On Jan 18, 2018, at 09:30, David Laguardia <[email protected]> wrote:

Hi everyone,
I'd like to know if I can choose some series to be already muted (or hidden) before plotting. I explain myself better with an example:

I have this graph:

<image.png>

I would like the default plot being:

<image.png>

In this way the series 2014 and 2018 are there but bokeh knows that I want them plotted already muted (or hidden). Hope to be clear.

Thank you!

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAP5SZvCm0a4Oa8%2Bqo-4mj5npwxwzYANmdS7VBte2aQmQ46ZjGA%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.