I just upgraded my Python Bokeh to 0.12.4 I get error JSON object has wrong type string

Some details here: I just upgraded my Python Bokeh to 0.12.4 I get error JSON object has wrong type string - Stack Overflow

Oddly enough, in the same browser (Chrome), the same plot function gives a perfectly fine plot in Jupyter Notebook with no issues.

I am running WinPython 3 and got the wheel from Unofficial Binaries page.

To be specific, this is View Page Source for what gets the complaint:

Rubicon

NEVER MIND, problem solved, if you look at my original post, my template clearly shows 12.4 scripts when I needed to have 12.14 scripts.

ยทยทยท

On Saturday, March 10, 2018 at 2:21:05 PM UTC-5, Lars Ericson wrote:

Some details here: https://stackoverflow.com/questions/49211950/i-just-upgraded-my-python-bokeh-to-0-12-4-i-get-error-json-object-has-wrong-type

Oddly enough, in the same browser (Chrome), the same plot function gives a perfectly fine plot in Jupyter Notebook with no issues.

I am running WinPython 3 and got the wheel from Unofficial Binaries page.

To be specific, this is View Page Source for what gets the complaint:

Rubicon
(function() { var fn = function() { Bokeh.safely(function() { (function(root) { function embed_document(root) { var docs_json = '{"40230b58-6c3d-464f-8317-8e2f85bac378":{"roots":{"references":[{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"651198d0-4cb4-4a7a-bdce-e6c7f0b1d269","type":"AdaptiveTicker"},{"attributes":{"months":[0,4,8]},"id":"fca01b1f-1a28-4951-b484-bffd43b3b7e0","type":"MonthsTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"e7b1e613-61c1-4da0-9cce-94630d0f34e3","type":"MonthsTicker"},{"attributes":{},"id":"f01d3f80-9a3a-443b-ac4d-b54440a6fccd","type":"SaveTool"},{"attributes":{"axis_label":"Forecast Date/Time","formatter":{"id":"2b480bbd-e7fe-4a6f-9fcc-7844296e4e6a","type":"DatetimeTickFormatter"},"plot":{"id":"ad26706b-47cb-4a4e-af55-31c5fc9f0596","subtype":"Figure","type":"Plot"},"ticker":{"id":"d6ab2e43-39f3-4b97-b1f1-abb694a54e6b","type":"DatetimeTicker"}},"id":"4f3d4e67-71bd-4911-9ed0-18cfe894a001","type":"DatetimeAxis"},{"attributes":{"line_color":"#1f77b4","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"8791f976-584e-434a-989a-a3b271f70bb8","type":"Line"},{"attributes":{"line_color":"#636363","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"2ca6cac7-1017-4909-9378-6d5d36f172e5","type":"Line"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"4ad30044-3dcf-414f-9114-b39628d1c7c6","type":"MonthsTicker"},{"attributes":{"line_color":"#aec7e8","line_width":2,"x":{"field":"x"},"y":{"field":"y"}},"id":"7dbdf3ea-5798-43b0-9a23-a53e7dab2c0b","type":"Line"},{"attributes":{},"id":"21b93832-96c2-432c-ace9-a09707e3c8b1","type":"BasicTickFormatter"},{"attributes":{"callback":null},"id":"f6a7cc6c-aa1f-476d-a3d8-56852b299fa0","type":"DataRange1d"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":[1520427914000.0,1520430773000.0,1520432348000.0,1520433047000.0,1520437377000.0,1520440636000.0,1520442133000.0,1520445318000.0,1520449246000.0,1520451520000.0,1520451520000.0,1520451794000.0,1520456713000.0,1520458205000.0,1520459909000.0,1520464493000.0,1520469210000.0,1520469321000.0,1520493071000.0,1520493224000.0,1520504057000.0,1520506427000.0,1520510986000.0,1520510986000.0,1520511304000.0,1520511571000.0,1520515958000.0,1520516413000.0,1520517961000.0,1520519767000.0,1520521881000.0,1520522956000.0,1520525413000.0,1520527797000.0,1520532729000.0,1520533866000.0,1520536413000.0,1520537634000.0,1520541301000.0,1520543357000.0,1520550788000.0,1520564869000.0,1520576171000.0,1520579300000.0,1520587079000.0,1520589168000.0,1520589657000.0,1520593268000.0,1520614942000.0,1520629174000.0,1520632542000.0,1520632869000.0,1520633149000.0,1520657100000.0],"y":[15.0,5.0,0.0,3.0,25.0,0.0,2.0,5.0,2.0,0.0,0.0,5.0,5.0,1.0,65.0,15.0,70.0,0.0,3.0,10.0,65.0,60.0,0.0,0.0,80.0,30.0,75.0,5.0,100.0,10.0,5.0,5.0,1.0,25.0,2.0,2.0,68.0,8.0,45.0,75.0,25.0,2.0,12.0,0.0,0.0,10.0,65.0,11.0,75.0,63.0,0.0,75.0,70.0,85.0]}},"id":"c470cbc4-1d87-4fcc-9707-001b5a7cb4b1","type":"ColumnDataSource"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"f3c868e9-428a-4b7c-b878-83087d2b0d71","type":"AdaptiveTicker"},{"attributes":{"data_source":{"id":"581490ad-677c-435a-90fe-fdb06d0b2036","type":"ColumnDataSource"},"glyph":{"id":"2ca6cac7-1017-4909-9378-6d5d36f172e5","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"f1d5e70e-c1bb-4f05-a7e7-21952349c7cb","type":"Line"},"selection_glyph":null,"view":{"id":"c5a9e98d-179d-4580-b4de-a7c52e007b34","type":"CDSView"}},"id":"507a6767-b8f0-40fb-99a9-69b7cd1ac3de","type":"GlyphRenderer"},{"attributes":{"days":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"id":"919c25a7-8850-4c42-8cb1-9736f1190d9a","type":"DaysTicker"},{"attributes":{"plot":null,"text":"Will a FARC candidate win a seat in the Colombian Senate or House of R? (54 Forecasts)"},"id":"5a124291-76e4-442d-a2a2-e1c27f7c9f9a","type":"Title"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"23d18236-2031-487a-b7a7-9f1c41326ca7","type":"AdaptiveTicker"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"c19a1c27-05cd-46cb-97e0-8324086f8a87","type":"BoxAnnotation"},{"attributes":{"label":{"value":"Yes median forecast"},"renderers":[{"id":"6b04adb3-ae2a-4e51-b4ff-e055f3658e2c","type":"GlyphRenderer"}]},"id":"57403bf8-2b29-4620-8920-11a36d14e2fc","type":"LegendItem"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"651198d0-4cb4-4a7a-bdce-e6c7f0b1d269","type":"AdaptiveTicker"},{"id":"23d18236-2031-487a-b7a7-9f1c41326ca7","type":"AdaptiveTicker"},{"id":"f3c868e9-428a-4b7c-b878-83087d2b0d71","type":"AdaptiveTicker"},{"id":"919c25a7-8850-4c42-8cb1-9736f1190d9a","type":"DaysTicker"},{"id":"d8528b12-1fdb-4252-9192-eb12b0e85299","type":"DaysTicker"},{"id":"84ac2c2b-2330-4f4c-af93-ae8b912d79c2","type":"DaysTicker"},{"id":"9d47bcfe-fe01-4c7e-bfc0-2f58cd5b59c4","type":"DaysTicker"},{"id":"e7b1e613-61c1-4da0-9cce-94630d0f34e3","type":"MonthsTicker"},{"id":"4ad30044-3dcf-414f-9114-b39628d1c7c6","type":"MonthsTicker"},{"id":"fca01b1f-1a28-4951-b484-bffd43b3b7e0","type":"MonthsTicker"},{"id":"7910591a-ac78-4cd5-9232-c0a39a01cc12","type":"MonthsTicker"},{"id":"9e87bfa5-fe6b-446f-b526-978d9c8c046a","type":"YearsTicker"}]},"id":"d6ab2e43-39f3-4b97-b1f1-abb694a54e6b","type":"DatetimeTicker"},{"attributes":{"days":[1,8,15,22]},"id":"84ac2c2b-2330-4f4c-af93-ae8b912d79c2","type":"DaysTicker"},{"attributes":{"label":{"value":"Yes forecasts"},"renderers":[{"id":"f35f34b5-4964-480e-877e-c7f864566e60","type":"GlyphRenderer"}]},"id":"4a9cc6b4-051e-48eb-a299-11bfe764b119","type":"LegendItem"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"d8528b12-1fdb-4252-9192-eb12b0e85299","type":"DaysTicker"},{"attributes":{"months":[0,6]},"id":"7910591a-ac78-4cd5-9232-c0a39a01cc12","type":"MonthsTicker"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"320cf135-a38e-435a-b7d9-02990bdf8ada","type":"PanTool"},{"id":"0d652f91-6a2a-44cd-bc48-1dde699a3915","type":"WheelZoomTool"},{"id":"460194fb-150e-4ae5-9303-a0be8f0f4e7c","type":"BoxZoomTool"},{"id":"87d20253-4dfb-487a-aa95-e59cb8b898f6","type":"ResetTool"},{"id":"f01d3f80-9a3a-443b-ac4d-b54440a6fccd","type":"SaveTool"}]},"id":"14ce8395-f3b4-4c87-8adf-1b00e5116de7","