Bokeh Tutorial

1.7 Animate

Exercise: Animate the climate map

Create a loop that updates the data source of the climate_map through time (for every month and year). You'll need to use the bokeh-server.

Note: when using the output_server make sure that your data source doesn't contain nans


In [ ]:
# Imports

In [ ]:
# Data

In [ ]:
# Output option

In [ ]:
# Plots

In [ ]:
# Create layout

In [ ]:
# Show

In [ ]:
# Select data source for climate_map

In [ ]:
# Create a loop that goes through month and year and updates the image data