Document function plot_time_series()