Hi all,
It appears that CSN.css_files
no longer returns a list of the links to the required CSS files in 1.3.4.
With Bokeh 1.3.4:
In [1]: import bokeh
In [2]: bokeh.__version__
Out[2]: '1.3.4'
In [3]: from bokeh.resources import CDN
In [4]: CDN.css_files
Out[4]: []
In [5]: CDN.js_files
Out[5]:
['https://cdn.pydata.org/bokeh/release/bokeh-1.3.4.min.js',
'https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.3.4.min.js',
'https://cdn.pydata.org/bokeh/release/bokeh-tables-1.3.4.min.js',
'https://cdn.pydata.org/bokeh/release/bokeh-gl-1.3.4.min.js']
In [6]:
And, with 1.2.0:
In [1]: import bokeh
In [2]: bokeh.__version__
Out[2]: '1.2.0'
In [3]: from bokeh.resources import CDN
In [4]: CDN.css_files
Out[4]:
['https://cdn.pydata.org/bokeh/release/bokeh-1.2.0.min.css',
'https://cdn.pydata.org/bokeh/release/bokeh-widgets-1.2.0.min.css',
'https://cdn.pydata.org/bokeh/release/bokeh-tables-1.2.0.min.css']
In [5]:
I use these files to embed bokeh plots in HTML pages like this and enjoyed being able to get the correct links from the Bokeh Python API.