0.10 pains - pls have a look

Installed 0.10, having some trouble embedding components():

0.9.3 version

Before I used to load INLINE resources :

        res = bkr.Resources('inline') #can be "cdd"

        resources = bkt.RESOURCES.render(js_raw = res.js_raw,

                                         css_raw = res.css_raw,

                                         js_files = res.js_files,

                                         css_files = res.css_files,)            

0.10 version

However now the above gives me an error, so I caught the occasion to move to cdn, which is in any case lighter.

However I am having the meager result shown below

In head I have:

<link ref="http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.css"  rel="stylesheet" type="text/css">

<script src="http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.js"></script>

{{ bokeh_script|indent(4)|safe }}

In body I have:

{{ bokeh_div|indent(4)|safe }}

CSS are totally screwed (e.g. jqueryui widgets are not working) and these are the results:

Ok I am dumb

there was an “h” missing in href, as per red text below:

Apols for the bother…

···

On Saturday, 3 October 2015 17:04:38 UTC+1, Pythonic wrote:

Installed 0.10, having some trouble embedding components():

0.9.3 version

Before I used to load INLINE resources :

        res = bkr.Resources('inline') #can be "cdd"
        resources = bkt.RESOURCES.render(js_raw = res.js_raw,
                                         css_raw = res.css_raw,
                                         js_files = res.js_files,
                                         css_files = res.css_files,)            

0.10 version

However now the above gives me an error, so I caught the occasion to move to cdn, which is in any case lighter.

However I am having the meager result shown below

In head I have:

<link **h**ref="[http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.css](http://www.google.com/url?q=http%3A%2F%2Fcdn.pydata.org%2Fbokeh%2Frelease%2Fbokeh-0.10.0.min.css&sa=D&sntz=1&usg=AFQjCNGSkmPzNDJlKnovalmZ1dIIt6AAgw)"  rel="stylesheet" type="text/css">
<script src="[http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.js](http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.js)"></script>
{{ bokeh_script|indent(4)|safe }}

In body I have:

{{ bokeh_div|indent(4)|safe }}

CSS are totally screwed (e.g. jqueryui widgets are not working) and these are the results:

Sounds like you already figured this out.

But, about the original error, note that 0.10.0 split bokeh.templates.RESOURCES into bokeh.template.JS_RESOURCES and bokeh.template.CSS_RESOURCES. The examples were updated to work with the change:

cheers,

Dennis

···

On Saturday, October 3, 2015 at 9:16:00 AM UTC-7, Pythonic wrote:

Ok I am dumb

there was an “h” missing in href, as per red text below:

Apols for the bother…

On Saturday, 3 October 2015 17:04:38 UTC+1, Pythonic wrote:

Installed 0.10, having some trouble embedding components():

0.9.3 version

Before I used to load INLINE resources :

        res = bkr.Resources('inline') #can be "cdd"
        resources = bkt.RESOURCES.render(js_raw = res.js_raw,
                                         css_raw = res.css_raw,
                                         js_files = res.js_files,
                                         css_files = res.css_files,)            

0.10 version

However now the above gives me an error, so I caught the occasion to move to cdn, which is in any case lighter.

However I am having the meager result shown below

In head I have:

<link **h**ref="[http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.css](http://www.google.com/url?q=http%3A%2F%2Fcdn.pydata.org%2Fbokeh%2Frelease%2Fbokeh-0.10.0.min.css&sa=D&sntz=1&usg=AFQjCNGSkmPzNDJlKnovalmZ1dIIt6AAgw)"  rel="stylesheet" type="text/css">
<script src="[http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.js](http://cdn.pydata.org/bokeh/release/bokeh-0.10.0.min.js)"></script>
{{ bokeh_script|indent(4)|safe }}

In body I have:

{{ bokeh_div|indent(4)|safe }}

CSS are totally screwed (e.g. jqueryui widgets are not working) and these are the results: