On Jan 16, 2017, at 1:41 PM, yonatan.negash@gmail.com wrote:
Thank you all for your quick reply!
Mateusz,
Adding bokeh-api.min.js did the trick, although this is not mentioned in the user guide.
Thanks,
-Yonatan
On Monday, January 16, 2017 at 1:14:53 PM UTC-5, yonatan...@gmail.com wrote:
Hi all,
I am trying to run the first example for a standalone bokehjs application found here:
http://bokeh.pydata.org/en/latest/docs/user_guide/bokehjs.html
I have saved this example code in a file called test.js
My HTML file looks like this:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-0.12.3.min.css" type="text/css" />
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.3.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.12.3.min.js"></script>
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.3.min.js"></script>
</head>
<body>
<script type="text/javascript" src="test.js"></script>
</body>
</html>
I get the following error when I load the page:
Uncaught TypeError: Cannot read property 'linspace' of undefined
What am I doing wrong?
Thanks,
-Yonatan
--
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 bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/27f2ed95-40a1-4f1f-be80-c6a2581120bb%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.