![]() Same initial plot as in the image above, but when the widgets are changed (such as the state for the COVID19 data) then the data in the plot updates. the plot and widgets look like:īut when the widgets are changed the plots don't update. The widgets and the plot of the default data appear, however modifying the widgets does not change the data on the plot. ![]() I'm wondering if the issue is due to the jupyter server not allowing the new data to communicate to the plot. ![]() When show() is called, the plot will be displayed inline in the next notebook output cell. I suspect that the connection between the lines in bold is the issue because the columndatasource updates correctly. To display Bokeh plots inline in a classic Jupyter notebooks, use the outputnotebook() function from bokeh.io instead of (or in addition to) the outputfile() function we have seen previously. Output = ipywidgets.interactive_output(graph_handler, widgets)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |