Hi…
i’m trying to use Bokeh but I can’t load the js file. The web browser shos a blank page when I open this html file (unless I cancel the js load):
<!DOCTYPE html>
<html >
<head>
<title>Bokeh test!!!</title>
<link href="http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css" rel="stylesheet" type="text/css">
<script src="http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js">
</head>
<body>
<h1>Bokeh test!!!</h1>
</body>
</html>
Any help?
p.d.: I’ve tried with other versions (0.8.2) with the same results.
Bryan
September 10, 2015, 3:42pm
3
Error in docs, issue filed here:
opened 03:40PM - 10 Sep 15 UTC
closed 09:03PM - 10 Sep 15 UTC
type: bug
tag: component: docs
reso: completed
On this page
http://bokeh.pydata.org/en/latest/docs/user_guide/embed.html
The … example below can be seen:
<img width="892" alt="screen shot 2015-09-10 at 10 39 07 am" src="https://cloud.githubusercontent.com/assets/1078448/9792899/431986f4-57a8-11e5-9578-e422105b9d67.png">
The `<script>` tags need required closing `</script>` tags, or else the script load does not work.
Bryan
···
On Sep 10, 2015, at 8:38 AM, Mateusz Paprocki <[email protected] > wrote:
Hi,
On Thu, Sep 10, 2015 at 10:30 AM, <[email protected] > wrote:
Hi...
i'm trying to use Bokeh but I can't load the js file. The web browser shos a blank page when I open this html file (unless I cancel the js load):
<!DOCTYPE html>
<html >
<head>
<title>Bokeh test!!!</title>
<link href="http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css" ; rel="stylesheet" type="text/css">
<script src="http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js"> ;
</h
>
<b
>
<h1>Bokeh test!!!</h
1>
</b
>
</h
>
Any help?
You have to end <script> tag with </script>. This one is obligatory. You don't have to (or actually even shouldn't) terminate <link> tag (for example), because it doesn't allow content, only attributes. If you wonder why you don't see any content on the page, then the following is HTML as figured out by the web browser (chromium in this case):
<html><head>
<title>Bokeh test!!!</title>
<link href="http://cdn.pydata.org/bokeh/release/bokeh-0.9.2.min.css" ; rel="stylesheet" type="text/css">
<script src="http://cdn.pydata.org/bokeh/release/bokeh-0.9.3.min.js"> ;
</head>
<body>
<h1>Bokeh test!!!</h1>
</body>
</html>
</script>
</head><body></body></html>
Notice where the inferred </script> tag is.
On a side note, make sure to use the same version for bokeh's javascript and CSS. Otherwise you may see some artefacts.
Mateusz
p.d.: I've tried with other versions (0.8.2) with the same results.
--
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/b98bf24b-d14f-43fc-be89-2986189cb1db%40continuum.io\ .
For more options, visit https://groups.google.com/a/continuum.io/d/optout\ .
--
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/CANFzp8i4esWAr8JfJuH3cr5mtbntbERJm%3D35sgYGrS%3DjQ5k4uQ%40mail.gmail.com\ .
For more options, visit https://groups.google.com/a/continuum.io/d/optout\ .