Exercise: Animate the timeseries plot
In [ ]:
# Imports
import datetime
import numpy as np
import netCDF4
import pandas as pd
from bokeh.plotting import vplot, hplot, cursession, output_server, show
from viz import climate_map, timeseries, legend, get_slice
In [ ]:
# Data
In [ ]:
# Output option
In [ ]:
from bokeh.plotting import figure
# Data
# Data for timeseries
# New text Plot
In [ ]:
# Plots
In [ ]:
# New circle in timeseries plot
In [ ]:
# Create layout
In [ ]:
# Show
In [ ]:
# Select data source for climate_map and month and year
# Select data source for timeseries data
In [ ]:
# Modify the previous loop: updates the image, timeseries, month and year data sources