Gapminder error in Bokeh

Hello,

I am trying to user bokeh to create an animated plot using the gapminder package, however I am getting an error in my import function line:

from bokeh.sampledata.gapminder import life_expect

and the error is

ImportError: cannot import name ‘life_expect’

Any suggestions to resolve this issue?

Thank you

Hi,

The name of the attribute is life_expectancy:

  from bokeh.sampledata.gapminder import life_expectancy

Thanks,

Bryan

···

On Mar 14, 2018, at 16:06, [email protected] wrote:

Hello,

I am trying to user bokeh to create an animated plot using the gapminder package, however I am getting an error in my import function line:

from bokeh.sampledata.gapminder import life_expect

and the error is

ImportError: cannot import name 'life_expect'

Any suggestions to resolve this issue?

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/b7a1ce77-ee3b-44ae-8b8b-b8a59d1598b3%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.