interactive legend, hide line by default

Hi,

I am using bokeh to produce static plots. I don’t use the bokeh server. Is it possible to have a line in a plot hidden by default? And then only show the linein case somebody clicks on it in the legend? Or maybe there are other workarounds? CheckboxButtonGroup or Tab/Panes?

Thanks,

Justin

Hi,

See: https://github.com/bokeh/bokeh/issues/6968#issuecomment-332519403

Thanks,

Bryan

···

On Oct 6, 2017, at 10:22, [email protected] wrote:

Hi,

I am using bokeh to produce static plots. I don't use the bokeh server. Is it possible to have a line in a plot hidden by default? And then only show the linein case somebody clicks on it in the legend? Or maybe there are other workarounds? CheckboxButtonGroup or Tab/Panes?

Thanks,
Justin

--
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/5a976cdd-4d95-4a48-867f-e37e4f9fc14a%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thanks!

works. In case others see this, in my case I want ‘.visible=True’ in stead of .muted

···

On Friday, October 6, 2017 at 10:24:31 AM UTC-5, Bryan Van de ven wrote:

Hi,

See: https://github.com/bokeh/bokeh/issues/6968#issuecomment-332519403

Thanks,

Bryan

On Oct 6, 2017, at 10:22, [email protected] wrote:

Hi,

I am using bokeh to produce static plots. I don’t use the bokeh server. Is it possible to have a line in a plot hidden by default? And then only show the linein case somebody clicks on it in the legend? Or maybe there are other workarounds? CheckboxButtonGroup or Tab/Panes?

Thanks,

Justin


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/5a976cdd-4d95-4a48-867f-e37e4f9fc14a%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.