refector kwarg handling in plot_ts