yt.funcs.
get_pbar
This returns a progressbar of the most appropriate type, given a title and a maxval.