p.step works on windows not on Mac

This code works in a Jupyter notebook .ipynb file on windows 10, Anaconda, bokeh 0.12.13

···

from bokeh.plotting import show, figure, output_notebook

from bokeh.models import Range1d

from bokeh.palettes import Spectral

output_notebook()

p = figure(plot_width=600, plot_height=400, x_axis_type=“datetime”)

p.step(x_min_wage, y_min_wage, line_width=2, color=Spectral[4][0])


The same file, shared via Dropbox, generates this error on my Mac:

Also Anaconda, bokeh 0.12.13.

---> 13 p.step(x_min_wage, y_min_wage, line_width=2, color=Spectral[4][0])

AttributeError: 'Figure' object has no attribute 'step'

__________________________________________

If I change p.step to p.line on my Mac it works.

Any thoughts as to why it generates an error on my Mac?

Thanks.

Originally posted in Anaconda - Public

</details>

You are not actually using Bokeh 0.12.13 on the mac. Perhaps you have multiple environments, and the one with notebook has an older version of Bokeh? (This has happened to me before). You can always check the bokeh version by inspecting "bokeh.__version__"

Thanks,

Bryan

···

On Feb 7, 2018, at 17:26, [email protected] wrote:

This code works in a Jupyter notebook .ipynb file on windows 10, Anaconda, bokeh 0.12.13
__________________________________________

from bokeh.plotting import show, figure, output_notebook
from bokeh.models import Range1d
from bokeh.palettes import Spectral

output_notebook()

p = figure(plot_width=600, plot_height=400, x_axis_type="datetime")

p.step(x_min_wage, y_min_wage, line_width=2, color=Spectral[4][0])

__________________________________________

The same file, shared via Dropbox, generates this error on my Mac:
Also Anaconda, bokeh 0.12.13.

---> 13 p.step(x_min_wage, y_min_wage, line_width=2, color=Spectral[4][0])

AttributeError: 'Figure' object has no attribute 'step'

__________________________________________

If I change p.step to p.line on my Mac it works.
Any thoughts as to why it generates an error on my Mac?

Thanks.

Originally posted in Anaconda - Public

--
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/a5f91258-0890-4a27-996b-77f2e2472bd6%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.