IBMStreams / streamsx.health

(Incubation) Streams Healthcare Analytics Platform - To enable and inspire the next generation healthcare solutions
https://github.com/IBMStreams/streamsx.health/wiki
Apache License 2.0
41 stars 34 forks source link

samples/HealthcareJupyterDemo should work for any version of bokeh #134

Open ibmkendrick opened 7 years ago

ibmkendrick commented 7 years ago

When running the HealthcareJupyterDemo, user must change the code in: image In order to work with bokeh version > 0.12.2.

Otherwise, an error similar to this is shown:

/usr/local/src/conda3_runtime.v14/4.1.1/lib/python3.5/site-packages/bokeh/io.py:489: UserWarning: Cannot find a last shown plot to update. Call output_notebook() and show(..., notebook_handle=True) before push_notebook() 
  warnings.warn("Cannot find a last shown plot to update. Call output_notebook() and show(..., notebook_handle=True) before push_notebook()") 

Suggest to modify the demo so this change is performed programmatically. The bokeh version can be checked using: image