bokeh.plotting.curplot in release 0.8.0

Hi!

I used bokeh.plotting.curplot function to get the latest active figure. In new release I can’t find it or some analogue.

Can you help me? Is this function absent now?

Thanks, Tatiana.

This was deprecated since 0.7 (with deprecation warnings) and removed in 0.8. You can see more information here:

  http://continuum.io/blog/bokeh-0.7#api-deprecations

The API is more explicit now. Basically you keep track of plots (which is much better) you want to act on:

  p = figure(...)
        p.circle(...)
        show(p)

Thanks,

Bryan

···

On Feb 17, 2015, at 12:01 PM, Tatiana Likhomanenko <[email protected]> wrote:

Hi!

I used bokeh.plotting.curplot function to get the latest active figure. In new release I can't find it or some analogue.

Can you help me? Is this function absent now?

Thanks, Tatiana.

--
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/128eadee-cda4-4f74-bee3-e5072cee5c2c%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Hi,
How would this below be written?

···

renderer = [r for r in bp.curplot().renderers if isinstance(r,Glyph)]