I am building several plots with DataColumnSources made from a pandas data frame with the following structure:
DatetimeIndex: 2599 entries, 2005-02-16 to 2015-08-26
Data columns (total 8 columns):
col1 2599 non-null float64
col2 2599 non-null float64
col3 2599 non-null float64
col4 2599 non-null float64
col5 2599 non-null float64
col6 2599 non-null float64
col7 2599 non-null float64
col8 2599 non-null float64
the plots are collected in a dictionary and bokeh.embed.components is called (just like the embed_multiple.py example) then they are used in a render_template flask call (as a return of a route function).
I get the following error: “TypeError: <plotters.IHPlots object at 0x107b669b0> is not JSON serializable”
Is it the datetime64 or float64 that (still) create issues (I found a github issue about int64)?
PS: the ultimate goal is not to call render_template but to pass them back to a JQuery request to avoid rendering the whole page.