Hide Figure/Plot

I know that it is possible to hide a glyph via a button click by setting the glyph’s visible attribute to False. Is there a way to hide an entire figure/plot (all axes, all glyphs, etc that belong to the same figure) via a button click? There is no visible attribute for figure.

Hi,

···

On Tue, Mar 14, 2017 at 2:30 AM, [email protected] wrote:

I know that it is possible to hide a glyph via a button click by setting the glyph’s visible attribute to False. Is there a way to hide an entire figure/plot (all axes, all glyphs, etc that belong to the same figure) via a button click? There is no visible attribute for figure.

unfortunately there is no support for this, though it should be fairly easy to add such a feature. You can request this at https://github.com/bokeh/bokeh/issues.

Mateusz

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/84bb956f-4c8f-49d6-82fa-85c2a306d678%40continuum.io.

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

Looks like there is an example on how to possibly accomplish this:

Best,

Sean

···

On Tuesday, March 14, 2017 at 9:29:02 AM UTC-4, mateusz.paprocki wrote:

Hi,

On Tue, Mar 14, 2017 at 2:30 AM, [email protected] wrote:

I know that it is possible to hide a glyph via a button click by setting the glyph’s visible attribute to False. Is there a way to hide an entire figure/plot (all axes, all glyphs, etc that belong to the same figure) via a button click? There is no visible attribute for figure.

unfortunately there is no support for this, though it should be fairly easy to add such a feature. You can request this at https://github.com/bokeh/bokeh/issues.

Mateusz

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/84bb956f-4c8f-49d6-82fa-85c2a306d678%40continuum.io.

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